#CA0787
Closest named color: Medium Violet Red (#C71585). oklch(55.6% 0.23 349.4), rgb(202, 7, 135).
Aa
White text reads best on this color (5.39:1).
About this color
#CA0787 is a medium-dark, vivid red. In OKLCH its lightness is 56%, its chroma 0.230 and its hue 349°. Its hue sits on the warm side of the wheel. The nearest named color is Medium Violet Red (#C71585), ΔE 0.008 away. White text reads best on it, at 5.39:1.
| Hue family | Reds |
| Lightness | medium-dark (56%) |
| Chroma | vivid (0.230) |
| Temperature | warm |
| Nearest name | Medium Violet Red (#C71585) |
| Black text | 3.89:1 |
| White text | 5.39:1 |
Values
| HEX | #CA0787 |
| RGB | rgb(202, 7, 135) |
| HSL | hsl(321, 93%, 41%) |
| OKLCH | oklch(55.6% 0.23 349.4) |
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 #CA0787 | 5.39:1 | AA | Lc -79.9 | Fine for body text |
| Black text on #CA0787 | 3.89:1 | AA large text | Lc 29.6 | Dividers and decoration only |
| #CA0787 text on white | 5.39:1 | AA | Lc 74.5 | Content text, not long reading |
| #CA0787 text on black | 3.89:1 | AA large text | Lc -27.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
#FDF2F7
oklch(97.1% 0.013 347.9)
-
Step 100
100
#FAE2ED
oklch(93.5% 0.03 348.2)
-
Step 200
200
#F8CADF
oklch(88.5% 0.058 349.2)
-
Step 300
300
#F3A5CB
oklch(80.8% 0.103 349)
-
Step 400
400
#EA70B0
oklch(70.7% 0.166 349.5)
-
Step 500
500
#DF419C
oklch(63% 0.211 349.5)
-
Step 600
600 (this color)
#CA0787
oklch(55.6% 0.23 349.4)
-
Step 700
700
#AC0072
oklch(49.1% 0.205 349.4)
-
Step 800
800
#8E035D
oklch(42.8% 0.177 349.7)
-
Step 900
900
#72144C
oklch(37.7% 0.138 349.6)
-
Step 950
950
#430F2D
oklch(27% 0.087 349)
#CA0787 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) | #3A568A | 0.263 |
| Deuteranopia (no green cones) | #707583 | 0.227 |
| Tritanopia (no blue cones) | #DA004F | 0.094 |
| Achromatopsia (no color) | #6A6A6A | 0.232 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #CA0787
#CA0787
oklch(55.6% 0.23 349.4)
- #008768
#008768
oklch(55.4% 0.11 169.4)
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 #CA0787, closest first.
No curated palette has a color within ΔE 0.04 of #CA0787.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Medium Violet Red #C71585 ΔE 0.008
- Dark Hot Pink #D90166 ΔE 0.063
- Cerise #DE0C62 ΔE 0.076
- Purpley Pink #C83CB9 ΔE 0.082
- Dark Pink #CB416B ΔE 0.084
- Lipstick #D5174E ΔE 0.095
- Deep Rose #C74767 ΔE 0.096
- Ruby #CA0147 ΔE 0.096
Use #CA0787 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.