#B12E4F#B12E4F
#B12E4F is a mid, vivid pink. Relative luminance 0.119; OKLCH L 51.3% C 0.167 H 10.8°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).
Color values
| HEX | #B12E4F |
|---|---|
| RGB | rgb(177, 46, 79) |
| HSL | hsl(345, 59%, 44%) |
| HSV | hsv(345, 74%, 69%) |
| CMYK | cmyk(0%, 74%, 55.4%, 30.6%) |
| CIE-LAB | lab(41.01, 54.24, 12.46) |
| CIE-LCH | lch(41.01, 55.65, 12.93°) |
| OKLab | oklab(51.28% 0.1643 0.0314) |
| OKLCH | oklch(51.28% 0.167 10.8) |
| XYZ | xyz(20.5217, 11.8685, 8.6059) |
| Luminance | 0.1187 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 4.01
Purplish Red
#B0054B
ΔE00 4.13
Raspberry (survey)
#B00149
ΔE00 4.15
Ruby
#CA0147
ΔE00 5.01
Dark Rose
#B5485D
ΔE00 5.25
Light Maroon
#A24857
ΔE00 5.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B12E4F #2EB190
analogous
#B12E90 #B12E4F #B14E2E
triadic
#B12E4F #4FB12E #2E4FB1
tetradic
#B12E4F #90B12E #2EB190 #4E2EB1
square
#B12E4F #90B12E #2EB190 #4E2EB1
split-complementary
#B12E4F #2EB14E #2E90B1
monochromatic
#501524 #802139 #B12E4F #D04C6D #DD7C95
Accessibility & contrast
On white
6.23
#B12E4F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.37
#B12E4F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B12E4F
6.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B12E4F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B12E4F | 1.00 | 6.23 | 3.37 | 6.23 |
| #FFFFFF | 6.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#505050
Deuteranopia (green-blind)
#726A4C
Tritanopia (blue-blind)
#C1083C
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #b12e4f; /* rgb */ color: rgb(177, 46, 79); /* oklch */ color: oklch(51.3% 0.167 10.8);
Tailwind
colors: {
custom: {
50: '#cf7280',
500: '#b12e4f',
950: '#000000',
},
}SCSS
$custom: #b12e4f; $custom-light: #cf7280; $custom-dark: #000000;
JSON
{
"hex": "#b12e4f",
"rgb": {
"r": 177,
"g": 46,
"b": 79
},
"hsl": {
"h": 344.885,
"s": 58.744,
"l": 43.725
},
"oklch": {
"l": 0.51281,
"c": 0.1673,
"h": 10.8
},
"luminance": 0.11866
}Semantic roles & 50–950 ramp
primary
#B12E4F
secondary
#75C6B1
accent
#E2BB46
background
#FDF7F7
surface
#FBEDEE
border
#D4C8C9
text
#15080A
muted
#837B7C