#B12960#B12960
#B12960 is a mid, vivid pink. Relative luminance 0.118; OKLCH L 51.3% C 0.176 H 1.5°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).
Color values
| HEX | #B12960 |
|---|---|
| RGB | rgb(177, 41, 96) |
| HSL | hsl(336, 62%, 43%) |
| HSV | hsv(336, 77%, 69%) |
| CMYK | cmyk(0%, 76.8%, 45.8%, 30.6%) |
| CIE-LAB | lab(40.86, 57.34, 1.54) |
| CIE-LCH | lch(40.86, 57.36, 1.54°) |
| OKLab | oklab(51.32% 0.176 0.0046) |
| OKLCH | oklch(51.32% 0.176 1.5) |
| XYZ | xyz(21.0374, 11.7803, 12.2301) |
| Luminance | 0.1178 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Deep Pink
#CB0162
ΔE00 4.52
Violet Red
#A50055
ΔE00 4.92
Purplish Red
#B0054B
ΔE00 5.07
Light Burgundy
#A8415B
ΔE00 5.18
Raspberry (survey)
#B00149
ΔE00 5.55
Magenta (survey)
#C20078
ΔE00 6.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B12960 #29B17A
analogous
#B129A4 #B12960 #B13629
triadic
#B12960 #60B129 #2960B1
tetradic
#B12960 #A4B129 #29B17A #3629B1
square
#B12960 #A4B129 #29B17A #3629B1
split-complementary
#B12960 #29B136 #29A4B1
monochromatic
#4E122A #7F1D45 #B12960 #D4447E #DF75A0
Accessibility & contrast
On white
6.26
#B12960 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.36
#B12960 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B12960
6.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B12960 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B12960 | 1.00 | 6.26 | 3.36 | 6.26 |
| #FFFFFF | 6.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#495061
Deuteranopia (green-blind)
#6D6A5D
Tritanopia (blue-blind)
#C00B41
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #b12960; /* rgb */ color: rgb(177, 41, 96); /* oklch */ color: oklch(51.3% 0.176 1.5);
Tailwind
colors: {
custom: {
50: '#ce708d',
500: '#b12960',
950: '#000000',
},
}SCSS
$custom: #b12960; $custom-light: #ce708d; $custom-dark: #000000;
JSON
{
"hex": "#b12960",
"rgb": {
"r": 177,
"g": 41,
"b": 96
},
"hsl": {
"h": 335.735,
"s": 62.385,
"l": 42.745
},
"oklch": {
"l": 0.51323,
"c": 0.17603,
"h": 1.5
},
"luminance": 0.11778
}Semantic roles & 50–950 ramp
primary
#B12960
secondary
#6FC7A3
accent
#E5A342
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#15080C
muted
#837B7D