#B12958#B12958
#B12958 is a mid, vivid pink. Relative luminance 0.116; OKLCH L 51.1% C 0.174 H 5.4°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).
Color values
| HEX | #B12958 |
|---|---|
| RGB | rgb(177, 41, 88) |
| HSL | hsl(339, 62%, 43%) |
| HSV | hsv(339, 77%, 69%) |
| CMYK | cmyk(0%, 76.8%, 50.3%, 30.6%) |
| CIE-LAB | lab(40.64, 56.63, 6.27) |
| CIE-LCH | lch(40.64, 56.98, 6.31°) |
| OKLab | oklab(51.08% 0.1731 0.0165) |
| OKLCH | oklch(51.08% 0.174 5.4) |
| XYZ | xyz(20.6877, 11.6404, 10.3881) |
| Luminance | 0.1164 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 3.52
Raspberry (survey)
#B00149
ΔE00 3.91
Light Burgundy
#A8415B
ΔE00 4.14
Deep Pink
#CB0162
ΔE00 4.70
Violet Red
#A50055
ΔE00 5.57
Berry
#990F4B
ΔE00 6.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B12958 #29B182
analogous
#B1299C #B12958 #B13E29
triadic
#B12958 #58B129 #2958B1
tetradic
#B12958 #9CB129 #29B182 #3E29B1
square
#B12958 #9CB129 #29B182 #3E29B1
split-complementary
#B12958 #29B13E #299CB1
monochromatic
#4E1227 #7F1D3F #B12958 #D44475 #DF759A
Accessibility & contrast
On white
6.31
#B12958 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.33
#B12958 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B12958
6.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B12958 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B12958 | 1.00 | 6.31 | 3.33 | 6.31 |
| #FFFFFF | 6.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B4F59
Deuteranopia (green-blind)
#6F6955
Tritanopia (blue-blind)
#C1023D
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #b12958; /* rgb */ color: rgb(177, 41, 88); /* oklch */ color: oklch(51.1% 0.174 5.4);
Tailwind
colors: {
custom: {
50: '#ce7086',
500: '#b12958',
950: '#000000',
},
}SCSS
$custom: #b12958; $custom-light: #ce7086; $custom-dark: #000000;
JSON
{
"hex": "#b12958",
"rgb": {
"r": 177,
"g": 41,
"b": 88
},
"hsl": {
"h": 339.265,
"s": 62.385,
"l": 42.745
},
"oklch": {
"l": 0.51083,
"c": 0.17388,
"h": 5.4
},
"luminance": 0.11638
}Semantic roles & 50–950 ramp
primary
#B12958
secondary
#6FC7A8
accent
#E5AD42
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#15080B
muted
#837B7C