#B0237F#B0237F
#B0237F is a mid, vivid pink. Relative luminance 0.120; OKLCH L 51.9% C 0.195 H 346.3°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).
Color values
| HEX | #B0237F |
|---|---|
| RGB | rgb(176, 35, 127) |
| HSL | hsl(321, 67%, 41%) |
| HSV | hsv(321, 80%, 69%) |
| CMYK | cmyk(0%, 80.1%, 27.8%, 31%) |
| CIE-LAB | lab(41.16, 62.16, -17.38) |
| CIE-LCH | lch(41.16, 64.54, 344.38°) |
| OKLab | oklab(51.87% 0.1892 -0.0461) |
| OKLCH | oklch(51.87% 0.195 346.3) |
| XYZ | xyz(22.3374, 11.9670, 21.2081) |
| Luminance | 0.1196 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Magenta (survey)
#C20078
ΔE00 4.00
Mediumvioletred
#C71585
ΔE00 4.21
Red Violet
#9E0168
ΔE00 5.86
Warm Purple
#952E8F
ΔE00 7.44
Deep Magenta
#A0025C
ΔE00 7.48
Dark Fuchsia
#9D0759
ΔE00 8.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B0237F #23B054
analogous
#9B23B0 #B0237F #B02339
triadic
#B0237F #7FB023 #237FB0
tetradic
#B0237F #B09B23 #23B054 #2339B0
square
#B0237F #B09B23 #23B054 #2339B0
split-complementary
#B0237F #39B023 #23B09B
monochromatic
#4A0F35 #7D195A #B0237F #D839A0 #E26CB9
Accessibility & contrast
On white
6.19
#B0237F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.39
#B0237F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B0237F
6.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B0237F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B0237F | 1.00 | 6.19 | 3.39 | 6.19 |
| #FFFFFF | 6.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#395281
Deuteranopia (green-blind)
#636A7C
Tritanopia (blue-blind)
#BC1E4F
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #b0237f; /* rgb */ color: rgb(176, 35, 127); /* oklch */ color: oklch(51.9% 0.195 346.3);
Tailwind
colors: {
custom: {
50: '#cc6fa4',
500: '#b0237f',
950: '#000000',
},
}SCSS
$custom: #b0237f; $custom-light: #cc6fa4; $custom-dark: #000000;
JSON
{
"hex": "#b0237f",
"rgb": {
"r": 176,
"g": 35,
"b": 127
},
"hsl": {
"h": 320.851,
"s": 66.825,
"l": 41.373
},
"oklch": {
"l": 0.51867,
"c": 0.19476,
"h": 346.3
},
"luminance": 0.11964
}Semantic roles & 50–950 ramp
primary
#B0237F
secondary
#67C889
accent
#EA7A3E
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#14080F
muted
#837B7F