#C31255
Closest named color: Ruby (#CA0147). oklch(52.9% 0.204 7.9), rgb(195, 18, 85).
Aa
White text reads best on this color (5.93:1).
About this color
#C31255 is a medium-dark, vivid red. In OKLCH its lightness is 53%, its chroma 0.204 and its hue 8°. Its hue sits on the warm side of the wheel. The nearest named color is Ruby (#CA0147), ΔE 0.023 away. White text reads best on it, at 5.93:1.
| Hue family | Reds |
| Lightness | medium-dark (53%) |
| Chroma | vivid (0.204) |
| Temperature | warm |
| Nearest name | Ruby (#CA0147) |
| Black text | 3.53:1 |
| White text | 5.93:1 |
Values
| HEX | #C31255 |
| RGB | rgb(195, 18, 85) |
| HSL | hsl(337, 83%, 42%) |
| OKLCH | oklch(52.9% 0.204 7.9) |
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 #C31255 | 5.93:1 | AA | Lc -82.9 | Fine for body text |
| Black text on #C31255 | 3.53:1 | AA large text | Lc 26.5 | Dividers and decoration only |
| #C31255 text on white | 5.93:1 | AA | Lc 77.6 | Fine for body text |
| #C31255 text on black | 3.53:1 | AA large text | Lc -24.2 | Dividers and decoration only |
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 600.
-
Step 50
50
#FDF2F4
oklch(97% 0.012 4.7)
-
Step 100
100
#FBE3E6
oklch(93.6% 0.027 9)
-
Step 200
200
#F8CCD3
oklch(88.5% 0.05 7.4)
-
Step 300
300
#F5A8B5
oklch(80.9% 0.092 8.2)
-
Step 400
400
#EB768F
oklch(70.7% 0.146 8)
-
Step 500
500
#E14B74
oklch(63% 0.187 7.8)
-
Step 600
600 (this color)
#C31255
oklch(52.9% 0.204 7.9)
-
Step 700
700
#B10E4C
oklch(49.2% 0.19 8)
-
Step 800
800
#8F143F
oklch(42.7% 0.157 7.5)
-
Step 900
900
#731B35
oklch(37.6% 0.122 7.9)
-
Step 950
950
#44121F
oklch(27% 0.077 8.2)
#C31255 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) | #4B4E56 | 0.232 |
| Deuteranopia (no green cones) | #777051 | 0.209 |
| Tritanopia (no blue cones) | #D50034 | 0.056 |
| Achromatopsia (no color) | #646464 | 0.206 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #C31255
#C31255
oklch(52.9% 0.204 7.9)
- #007C75
#007C75
oklch(52.8% 0.092 187.9)
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 #C31255, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Ruby #CA0147 ΔE 0.023
- Rose Red #BE013C ΔE 0.035
- Lipstick #D5174E ΔE 0.041
- Raspberry #B00149 ΔE 0.045
- Lipstick Red #C0022F ΔE 0.049
- Cherry #CF0234 ΔE 0.049
- Dark Hot Pink #D90166 ΔE 0.049
- Cerise #DE0C62 ΔE 0.057
Use #C31255 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.