#BC2F9D#BC2F9D
#BC2F9D is a mid, highly saturated pink. Relative luminance 0.152; OKLCH L 56.1% C 0.209 H 338.5°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).
Color values
| HEX | #BC2F9D |
|---|---|
| RGB | rgb(188, 47, 157) |
| HSL | hsl(313, 60%, 46%) |
| HSV | hsv(313, 75%, 74%) |
| CMYK | cmyk(0%, 75%, 16.5%, 26.3%) |
| CIE-LAB | lab(45.85, 65.45, -28.17) |
| CIE-LCH | lch(45.85, 71.26, 336.71°) |
| OKLab | oklab(56.09% 0.1941 -0.0764) |
| OKLCH | oklch(56.09% 0.209 338.5) |
| XYZ | xyz(27.8420, 15.1614, 33.3519) |
| Luminance | 0.1516 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Ugly Purple
#A442A0
ΔE00 4.80
Mediumvioletred
#C71585
ΔE00 5.62
Purpley Pink
#C83CB9
ΔE00 5.69
Medium Purple
#9E43A2
ΔE00 6.13
Barney
#AC1DB8
ΔE00 7.50
Magenta (survey)
#C20078
ΔE00 7.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BC2F9D #2FBC4E
analogous
#942FBC #BC2F9D #BC2F57
triadic
#BC2F9D #9DBC2F #2F9DBC
tetradic
#BC2F9D #BC942F #2FBC4E #2F57BC
square
#BC2F9D #BC942F #2FBC4E #2F57BC
split-complementary
#BC2F9D #57BC2F #2FBC94
monochromatic
#5A174B #8B2374 #BC2F9D #D454B8 #E085CC
Accessibility & contrast
On white
5.21
#BC2F9D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.03
#BC2F9D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BC2F9D
5.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BC2F9D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BC2F9D | 1.00 | 5.21 | 4.03 | 5.21 |
| #FFFFFF | 5.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#365FA0
Deuteranopia (green-blind)
#66749A
Tritanopia (blue-blind)
#C73663
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #bc2f9d; /* rgb */ color: rgb(188, 47, 157); /* oklch */ color: oklch(56.1% 0.209 338.5);
Tailwind
colors: {
custom: {
50: '#d476ba',
500: '#bc2f9d',
950: '#000000',
},
}SCSS
$custom: #bc2f9d; $custom-light: #d476ba; $custom-dark: #000000;
JSON
{
"hex": "#bc2f9d",
"rgb": {
"r": 188,
"g": 47,
"b": 157
},
"hsl": {
"h": 313.191,
"s": 60,
"l": 46.078
},
"oklch": {
"l": 0.56089,
"c": 0.20863,
"h": 338.5
},
"luminance": 0.15159
}Semantic roles & 50–950 ramp
primary
#BC2F9D
secondary
#7DCA8E
accent
#E36745
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150A11
muted
#837C80