#CC278E
Closest named color: Medium Violet Red (#C71585). oklch(57.4% 0.217 348.3), rgb(204, 39, 142).
Aa
White text reads best on this color (4.94:1).
About this color
#CC278E is a medium-dark, vivid red. In OKLCH its lightness is 57%, its chroma 0.217 and its hue 348°. Its hue sits on the warm side of the wheel. The nearest named color is Medium Violet Red (#C71585), ΔE 0.022 away. White text reads best on it, at 4.94:1.
| Hue family | Reds |
| Lightness | medium-dark (57%) |
| Chroma | vivid (0.217) |
| Temperature | warm |
| Nearest name | Medium Violet Red (#C71585) |
| Black text | 4.24:1 |
| White text | 4.94:1 |
Values
| HEX | #CC278E |
| RGB | rgb(204, 39, 142) |
| HSL | hsl(323, 68%, 48%) |
| OKLCH | oklch(57.4% 0.217 348.3) |
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 #CC278E | 4.94:1 | AA | Lc -78.1 | Fine for body text |
| Black text on #CC278E | 4.24:1 | AA large text | Lc 31.5 | Non-text elements, placeholder text |
| #CC278E text on white | 4.94:1 | AA | Lc 72.6 | Content text, not long reading |
| #CC278E text on black | 4.24:1 | AA large text | Lc -29.1 | 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
#F9E3ED
oklch(93.6% 0.027 348.3)
-
Step 200
200
#F6CBDF
oklch(88.5% 0.055 348.6)
-
Step 300
300
#F0A7CB
oklch(80.9% 0.097 348.4)
-
Step 400
400
#E574B1
oklch(70.7% 0.156 348.2)
-
Step 500
500
#DA489E
oklch(63% 0.2 348.1)
-
Step 600
600 (this color)
#CC278E
oklch(57.4% 0.217 348.3)
-
Step 700
700
#AA0974
oklch(49.1% 0.202 348.2)
-
Step 800
800
#8A115E
oklch(42.7% 0.167 348.4)
-
Step 900
900
#6F1A4D
oklch(37.7% 0.13 348.3)
-
Step 950
950
#42112D
oklch(27.1% 0.083 348.8)
#CC278E 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) | #445E91 | 0.245 |
| Deuteranopia (no green cones) | #757A8A | 0.213 |
| Tritanopia (no blue cones) | #DB1C59 | 0.086 |
| Achromatopsia (no color) | #707070 | 0.219 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #CC278E
#CC278E
oklch(57.4% 0.217 348.3)
- #008E6C
#008E6C
oklch(57.5% 0.116 168.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 #CC278E, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Medium Violet Red #C71585 ΔE 0.022
- Dark Hot Pink #D90166 ΔE 0.065
- Purpley Pink #C83CB9 ΔE 0.067
- Dark Pink #CB416B ΔE 0.073
- Cerise #DE0C62 ΔE 0.075
- Pinky Purple #C94CBE ΔE 0.080
- Deep Rose #C74767 ΔE 0.085
- Neon Pink #F72585 ΔE 0.089
Use #CC278E 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.