#C948AF#C948AF
#C948AF is a mid, vivid pink. Relative luminance 0.201; OKLCH L 61.2% C 0.199 H 336.6°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).
Color values
| HEX | #C948AF |
|---|---|
| RGB | rgb(201, 72, 175) |
| HSL | hsl(312, 54%, 54%) |
| HSV | hsv(312, 64%, 79%) |
| CMYK | cmyk(0%, 64.2%, 12.9%, 21.2%) |
| CIE-LAB | lab(52.01, 62.30, -29.07) |
| CIE-LCH | lch(52.01, 68.75, 334.98°) |
| OKLab | oklab(61.23% 0.1826 -0.0789) |
| OKLCH | oklch(61.23% 0.199 336.6) |
| XYZ | xyz(34.1431, 20.1503, 42.6403) |
| Luminance | 0.2015 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Pinky Purple
#C94CBE
ΔE00 2.81
Purpley Pink
#C83CB9
ΔE00 3.01
Purplish Pink
#CE5DAE
ΔE00 4.91
Purpleish Pink
#DF4EC8
ΔE00 5.58
Pinkish Purple
#D648D7
ΔE00 6.64
Hot Magenta
#F504C9
ΔE00 7.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C948AF #48C962
analogous
#A248C9 #C948AF #C9486E
triadic
#C948AF #AFC948 #48AFC9
tetradic
#C948AF #C9A248 #48C962 #486EC9
square
#C948AF #C9A248 #48C962 #486EC9
split-complementary
#C948AF #6EC948 #48C9A2
monochromatic
#742264 #A4308C #C948AF #D777C4 #E5A7D8
Accessibility & contrast
On white
4.18
#C948AF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.03
#C948AF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C948AF
5.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C948AF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C948AF | 1.00 | 4.18 | 5.03 | 5.03 |
| #FFFFFF | 4.18 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.03 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.03 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A6FB2
Deuteranopia (green-blind)
#7383AC
Tritanopia (blue-blind)
#D34F75
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #c948af; /* rgb */ color: rgb(201, 72, 175); /* oklch */ color: oklch(61.2% 0.199 336.6);
Tailwind
colors: {
custom: {
50: '#dd84c7',
500: '#c948af',
950: '#000000',
},
}SCSS
$custom: #c948af; $custom-light: #dd84c7; $custom-dark: #000000;
JSON
{
"hex": "#c948af",
"rgb": {
"r": 201,
"g": 72,
"b": 175
},
"hsl": {
"h": 312.093,
"s": 54.43,
"l": 53.529
},
"oklch": {
"l": 0.6123,
"c": 0.1989,
"h": 336.6
},
"luminance": 0.20147
}Semantic roles & 50–950 ramp
primary
#C948AF
secondary
#9BD2A6
accent
#DE684A
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#150B13
muted
#847C82