#B0257F#B0257F
#B0257F is a mid, vivid pink. Relative luminance 0.121; OKLCH L 52.0% C 0.193 H 346.4°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).
Color values
| HEX | #B0257F |
|---|---|
| RGB | rgb(176, 37, 127) |
| HSL | hsl(321, 65%, 42%) |
| HSV | hsv(321, 79%, 69%) |
| CMYK | cmyk(0%, 79%, 27.8%, 31%) |
| CIE-LAB | lab(41.36, 61.61, -17.08) |
| CIE-LCH | lch(41.36, 63.94, 344.50°) |
| OKLab | oklab(52.01% 0.1875 -0.0453) |
| OKLCH | oklch(52.01% 0.193 346.4) |
| XYZ | xyz(22.3979, 12.0881, 21.2283) |
| Luminance | 0.1209 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Magenta (survey)
#C20078
ΔE00 3.97
Mediumvioletred
#C71585
ΔE00 4.13
Red Violet
#9E0168
ΔE00 6.00
Warm Purple
#952E8F
ΔE00 7.53
Deep Magenta
#A0025C
ΔE00 7.55
Ugly Purple
#A442A0
ΔE00 8.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B0257F #25B056
analogous
#9C25B0 #B0257F #B0253A
triadic
#B0257F #7FB025 #257FB0
tetradic
#B0257F #B09C25 #25B056 #253AB0
square
#B0257F #B09C25 #25B056 #253AB0
split-complementary
#B0257F #3AB025 #25B09C
monochromatic
#4B1036 #7D1A5B #B0257F #D63CA0 #E16FB9
Accessibility & contrast
On white
6.15
#B0257F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.42
#B0257F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B0257F
6.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B0257F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B0257F | 1.00 | 6.15 | 3.42 | 6.15 |
| #FFFFFF | 6.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A5281
Deuteranopia (green-blind)
#646A7C
Tritanopia (blue-blind)
#BC2050
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #b0257f; /* rgb */ color: rgb(176, 37, 127); /* oklch */ color: oklch(52.0% 0.193 346.4);
Tailwind
colors: {
custom: {
50: '#cc6fa4',
500: '#b0257f',
950: '#000000',
},
}SCSS
$custom: #b0257f; $custom-light: #cc6fa4; $custom-dark: #000000;
JSON
{
"hex": "#b0257f",
"rgb": {
"r": 176,
"g": 37,
"b": 127
},
"hsl": {
"h": 321.151,
"s": 65.258,
"l": 41.765
},
"oklch": {
"l": 0.52006,
"c": 0.19289,
"h": 346.4
},
"luminance": 0.12086
}Semantic roles & 50–950 ramp
primary
#B0257F
secondary
#6AC78B
accent
#E87B40
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#14080F
muted
#837B7F