#C31B95
Closest named color: Medium Violet Red (#C71585). oklch(55.6% 0.224 342.9), rgb(195, 27, 149).
Aa
White text reads best on this color (5.36:1).
About this color
#C31B95 is a medium-dark, vivid pink. In OKLCH its lightness is 56%, its chroma 0.224 and its hue 343°. Its hue sits on the warm side of the wheel. The nearest named color is Medium Violet Red (#C71585), ΔE 0.027 away. White text reads best on it, at 5.36:1.
| Hue family | Pinks |
| Lightness | medium-dark (56%) |
| Chroma | vivid (0.224) |
| Temperature | warm |
| Nearest name | Medium Violet Red (#C71585) |
| Black text | 3.91:1 |
| White text | 5.36:1 |
Values
| HEX | #C31B95 |
| RGB | rgb(195, 27, 149) |
| HSL | hsl(316, 76%, 44%) |
| OKLCH | oklch(55.6% 0.224 342.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 #C31B95 | 5.36:1 | AA | Lc -80.3 | Fine for body text |
| Black text on #C31B95 | 3.91:1 | AA large text | Lc 29.2 | Dividers and decoration only |
| #C31B95 text on white | 5.36:1 | AA | Lc 74.9 | Content text, not long reading |
| #C31B95 text on black | 3.91:1 | AA large text | Lc -26.8 | 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
#FCF2F8
oklch(97.1% 0.013 340.5)
-
Step 100
100
#F9E3EF
oklch(93.7% 0.029 343.6)
-
Step 200
200
#F5CBE3
oklch(88.5% 0.057 343)
-
Step 300
300
#EFA7D2
oklch(81% 0.1 343)
-
Step 400
400
#E373BB
oklch(70.6% 0.162 342.8)
-
Step 500
500
#D847AA
oklch(63.1% 0.207 342.9)
-
Step 600
600 (this color)
#C31B95
oklch(55.6% 0.224 342.9)
-
Step 700
700
#A8047F
oklch(49.1% 0.209 343)
-
Step 800
800
#880F67
oklch(42.6% 0.172 342.9)
-
Step 900
900
#6E1954
oklch(37.7% 0.134 343)
-
Step 950
950
#411131
oklch(27.1% 0.085 343.4)
#C31B95 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) | #335998 | 0.254 |
| Deuteranopia (no green cones) | #697491 | 0.217 |
| Tritanopia (no blue cones) | #D01C5A | 0.099 |
| Achromatopsia (no color) | #6A6A6A | 0.227 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #C31B95
#C31B95
oklch(55.6% 0.224 342.9)
- #00895E
#00895E
oklch(55.7% 0.121 162.5)
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 #C31B95, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Medium Violet Red #C71585 ΔE 0.027
- Purpley Pink #C83CB9 ΔE 0.063
- Pinky Purple #C94CBE ΔE 0.083
- Dark Hot Pink #D90166 ΔE 0.087
- Warm Purple #952E8F ΔE 0.091
- Dark Pink #CB416B ΔE 0.097
- Purply #983FB2 ΔE 0.099
- Cerise #DE0C62 ΔE 0.099
Use #C31B95 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.