#CB3FAC#CB3FAC
#CB3FAC is a mid, highly saturated pink. Relative luminance 0.192; OKLCH L 60.5% C 0.210 H 338.0°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).
Color values
| HEX | #CB3FAC |
|---|---|
| RGB | rgb(203, 63, 172) |
| HSL | hsl(313, 57%, 52%) |
| HSV | hsv(313, 69%, 80%) |
| CMYK | cmyk(0%, 69%, 15.3%, 20.4%) |
| CIE-LAB | lab(50.96, 65.81, -28.92) |
| CIE-LCH | lch(50.96, 71.88, 336.28°) |
| OKLab | oklab(60.49% 0.1944 -0.0784) |
| OKLCH | oklch(60.49% 0.21 338) |
| XYZ | xyz(33.8532, 19.2332, 40.9512) |
| Luminance | 0.1923 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 2.80
Pinky Purple
#C94CBE
ΔE00 3.80
Purplish Pink
#CE5DAE
ΔE00 6.05
Purpleish Pink
#DF4EC8
ΔE00 6.48
Hot Magenta
#F504C9
ΔE00 7.04
Pinkish Purple
#D648D7
ΔE00 7.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CB3FAC #3FCB5E
analogous
#A43FCB #CB3FAC #CB3F66
triadic
#CB3FAC #ACCB3F #3FACCB
tetradic
#CB3FAC #CBA43F #3FCB5E #3F66CB
square
#CB3FAC #CBA43F #3FCB5E #3F66CB
split-complementary
#CB3FAC #66CB3F #3FCBA4
monochromatic
#711F5F #A12C87 #CB3FAC #D86FC1 #E59FD6
Accessibility & contrast
On white
4.33
#CB3FAC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.85
#CB3FAC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CB3FAC
4.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CB3FAC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CB3FAC | 1.00 | 4.33 | 4.85 | 4.85 |
| #FFFFFF | 4.33 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.85 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.85 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#456BAF
Deuteranopia (green-blind)
#7281A9
Tritanopia (blue-blind)
#D64570
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #cb3fac; /* rgb */ color: rgb(203, 63, 172); /* oklch */ color: oklch(60.5% 0.210 338.0);
Tailwind
colors: {
custom: {
50: '#df7fc5',
500: '#cb3fac',
950: '#000000',
},
}SCSS
$custom: #cb3fac; $custom-light: #df7fc5; $custom-dark: #000000;
JSON
{
"hex": "#cb3fac",
"rgb": {
"r": 203,
"g": 63,
"b": 172
},
"hsl": {
"h": 313.286,
"s": 57.377,
"l": 52.157
},
"oklch": {
"l": 0.60486,
"c": 0.2096,
"h": 338
},
"luminance": 0.1923
}Semantic roles & 50–950 ramp
primary
#CB3FAC
secondary
#94D1A2
accent
#E16947
background
#FEF8FC
surface
#FCEFF8
border
#D5CAD1
text
#160B13
muted
#847C82