#402233
Closest named color: Space Cadet (#2B2D42). oklch(29.8% 0.053 345.7), rgb(64, 34, 51).
Aa
White text reads best on this color (14.05:1).
About this color
#402233 is a dark, muted red. In OKLCH its lightness is 30%, its chroma 0.053 and its hue 346°. Its hue sits on the warm side of the wheel. The nearest named color is Space Cadet (#2B2D42), ΔE 0.051 away. White text reads best on it, at 14.05:1.
| Hue family | Reds |
| Lightness | dark (30%) |
| Chroma | muted (0.053) |
| Temperature | warm |
| Nearest name | Space Cadet (#2B2D42) |
| Black text | 1.49:1 |
| White text | 14.05:1 |
Values
| HEX | #402233 |
| RGB | rgb(64, 34, 51) |
| HSL | hsl(326, 31%, 19%) |
| OKLCH | oklch(29.8% 0.053 345.7) |
Contrast
WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.
| Pair | WCAG 2 | Result | APCA | APCA guidance |
|---|---|---|---|---|
| White text on #402233 | 14.05:1 | AAA | Lc -103.6 | Preferred for body text |
| Black text on #402233 | 1.49:1 | Fails | Lc 0.0 | Not readable |
| #402233 text on white | 14.05:1 | AAA | Lc 100.6 | Preferred for body text |
| #402233 text on black | 1.49:1 | Fails | Lc 0.0 | Not readable |
Tints and shades
A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 950.
-
Step 50
50
#FAF3F7
oklch(97.1% 0.009 341.8)
-
Step 100
100
#F3E5EC
oklch(93.5% 0.018 345.6)
-
Step 200
200
#EBD0DE
oklch(88.4% 0.035 345.2)
-
Step 300
300
#DFB1C9
oklch(80.9% 0.062 345.9)
-
Step 400
400
#CE87AE
oklch(70.7% 0.1 345.9)
-
Step 500
500
#BF679A
oklch(63% 0.128 345.6)
-
Step 600
600
#AA4D85
oklch(55.6% 0.139 345.4)
-
Step 700
700
#923E70
oklch(49.2% 0.128 346.1)
-
Step 800
800
#76335B
oklch(42.6% 0.106 345.7)
-
Step 900
900
#602E4B
oklch(37.8% 0.082 345.9)
-
Step 950
950 (this color)
#402233
oklch(29.8% 0.053 345.7)
#402233 with color blindness
Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.
| Vision | Seen as | Shift (ΔE) |
|---|---|---|
| Protanopia (no red cones) | #242934 | 0.056 |
| Deuteranopia (no green cones) | #2C2D32 | 0.050 |
| Tritanopia (no blue cones) | #442228 | 0.022 |
| Achromatopsia (no color) | #2C2C2C | 0.053 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #402233
#402233
oklch(29.8% 0.053 345.7)
- #0D3627
#0D3627
oklch(30% 0.053 165.1)
Analogous
Neighbouring hues, 30° either side.
Split complementary
The two hues beside the complement (150° and 210°).
Triadic
Three hues spaced 120° apart.
Palettes with this color
Curated palettes that contain a color within ΔE 0.04 (OKLab) of #402233, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Space Cadet #2B2D42 ΔE 0.051
- Gunmetal #293241 ΔE 0.061
- Aubergine #3D0734 ΔE 0.065
- Jet #212529 ΔE 0.065
- Oxford Blue #1B263B ΔE 0.070
- Eggplant #380835 ΔE 0.070
- Dark #1B2431 ΔE 0.071
- Eggplant Purple #430541 ΔE 0.072
Use #402233 in your product
Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.