#C948A2#C948A2
#C948A2 is a mid, vivid pink. Relative luminance 0.197; OKLCH L 60.6% C 0.190 H 341.7°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).
Color values
| HEX | #C948A2 |
|---|---|
| RGB | rgb(201, 72, 162) |
| HSL | hsl(318, 54%, 54%) |
| HSV | hsv(318, 64%, 79%) |
| CMYK | cmyk(0%, 64.2%, 19.4%, 21.2%) |
| CIE-LAB | lab(51.46, 60.41, -22.30) |
| CIE-LCH | lch(51.46, 64.39, 339.74°) |
| OKLab | oklab(60.65% 0.1803 -0.0598) |
| OKLCH | oklch(60.65% 0.19 341.7) |
| XYZ | xyz(32.9272, 19.6639, 36.2368) |
| Luminance | 0.1966 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Pink
#CE5DAE
ΔE00 4.81
Purpley Pink
#C83CB9
ΔE00 5.23
Pinky Purple
#C94CBE
ΔE00 5.35
Purpleish Pink
#DF4EC8
ΔE00 7.23
Pale Magenta
#D767AD
ΔE00 7.77
Mediumvioletred
#C71585
ΔE00 7.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C948A2 #48C96F
analogous
#B048C9 #C948A2 #C94861
triadic
#C948A2 #A2C948 #48A2C9
tetradic
#C948A2 #C9B048 #48C96F #4861C9
square
#C948A2 #C9B048 #48C96F #4861C9
split-complementary
#C948A2 #61C948 #48C9B0
monochromatic
#74225C #A43081 #C948A2 #D777BA #E5A7D2
Accessibility & contrast
On white
4.26
#C948A2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.93
#C948A2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C948A2
4.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C948A2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C948A2 | 1.00 | 4.26 | 4.93 | 4.93 |
| #FFFFFF | 4.26 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.93 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.93 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#516DA5
Deuteranopia (green-blind)
#78829F
Tritanopia (blue-blind)
#D54A6E
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #c948a2; /* rgb */ color: rgb(201, 72, 162); /* oklch */ color: oklch(60.6% 0.190 341.7);
Tailwind
colors: {
custom: {
50: '#dd83bd',
500: '#c948a2',
950: '#000000',
},
}SCSS
$custom: #c948a2; $custom-light: #dd83bd; $custom-dark: #000000;
JSON
{
"hex": "#c948a2",
"rgb": {
"r": 201,
"g": 72,
"b": 162
},
"hsl": {
"h": 318.14,
"s": 54.43,
"l": 53.529
},
"oklch": {
"l": 0.60646,
"c": 0.18996,
"h": 341.7
},
"luminance": 0.19661
}Semantic roles & 50–950 ramp
primary
#C948A2
secondary
#9BD2AB
accent
#DE774A
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#150B12
muted
#847C81