#B0297F#B0297F
#B0297F is a mid, vivid pink. Relative luminance 0.123; OKLCH L 52.3% C 0.189 H 346.7°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).
Color values
| HEX | #B0297F |
|---|---|
| RGB | rgb(176, 41, 127) |
| HSL | hsl(322, 62%, 43%) |
| HSV | hsv(322, 77%, 69%) |
| CMYK | cmyk(0%, 76.7%, 27.8%, 31%) |
| CIE-LAB | lab(41.77, 60.44, -16.45) |
| CIE-LCH | lch(41.77, 62.63, 344.77°) |
| OKLab | oklab(52.31% 0.1839 -0.0435) |
| OKLCH | oklch(52.31% 0.189 346.7) |
| XYZ | xyz(22.5293, 12.3508, 21.2721) |
| Luminance | 0.1235 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Magenta (survey)
#C20078
ΔE00 3.95
Mediumvioletred
#C71585
ΔE00 4.00
Red Violet
#9E0168
ΔE00 6.32
Deep Magenta
#A0025C
ΔE00 7.72
Warm Purple
#952E8F
ΔE00 7.74
Ugly Purple
#A442A0
ΔE00 8.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B0297F #29B05A
analogous
#9E29B0 #B0297F #B0293B
triadic
#B0297F #7FB029 #297FB0
tetradic
#B0297F #B09E29 #29B05A #293BB0
square
#B0297F #B09E29 #29B05A #293BB0
split-complementary
#B0297F #3BB029 #29B09E
monochromatic
#4D1237 #7E1D5B #B0297F #D3439F #DF75B8
Accessibility & contrast
On white
6.05
#B0297F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.47
#B0297F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B0297F
6.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B0297F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B0297F | 1.00 | 6.05 | 3.47 | 6.05 |
| #FFFFFF | 6.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D5481
Deuteranopia (green-blind)
#656B7C
Tritanopia (blue-blind)
#BC2451
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #b0297f; /* rgb */ color: rgb(176, 41, 127); /* oklch */ color: oklch(52.3% 0.189 346.7);
Tailwind
colors: {
custom: {
50: '#cc71a4',
500: '#b0297f',
950: '#000000',
},
}SCSS
$custom: #b0297f; $custom-light: #cc71a4; $custom-dark: #000000;
JSON
{
"hex": "#b0297f",
"rgb": {
"r": 176,
"g": 41,
"b": 127
},
"hsl": {
"h": 321.778,
"s": 62.212,
"l": 42.549
},
"oklch": {
"l": 0.52306,
"c": 0.18893,
"h": 346.7
},
"luminance": 0.12348
}Semantic roles & 50–950 ramp
primary
#B0297F
secondary
#6FC68E
accent
#E57E43
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#14090F
muted
#837B7F