#B1336F#B1336F
#B1336F is a mid, vivid pink. Relative luminance 0.129; OKLCH L 52.7% C 0.170 H 355.5°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).
Color values
| HEX | #B1336F |
|---|---|
| RGB | rgb(177, 51, 111) |
| HSL | hsl(331, 55%, 45%) |
| HSV | hsv(331, 71%, 69%) |
| CMYK | cmyk(0%, 71.2%, 37.3%, 30.6%) |
| CIE-LAB | lab(42.56, 55.45, -5.34) |
| CIE-LCH | lch(42.56, 55.70, 354.50°) |
| OKLab | oklab(52.72% 0.1699 -0.0134) |
| OKLCH | oklch(52.72% 0.17 355.5) |
| XYZ | xyz(22.1859, 12.8651, 16.3507) |
| Luminance | 0.1286 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Magenta (survey)
#C20078
ΔE00 4.38
Mediumvioletred
#C71585
ΔE00 5.70
Deep Pink
#CB0162
ΔE00 6.18
Violet Red
#A50055
ΔE00 6.99
Deep Magenta
#A0025C
ΔE00 7.03
Light Burgundy
#A8415B
ΔE00 7.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B1336F #33B175
analogous
#B133AE #B1336F #B13633
triadic
#B1336F #6FB133 #336FB1
tetradic
#B1336F #AEB133 #33B175 #3633B1
square
#B1336F #AEB133 #33B175 #3633B1
split-complementary
#B1336F #33B136 #33AEB1
monochromatic
#521833 #812551 #B1336F #CE548E #DB83AD
Accessibility & contrast
On white
5.88
#B1336F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.57
#B1336F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B1336F
5.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B1336F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B1336F | 1.00 | 5.88 | 3.57 | 5.88 |
| #FFFFFF | 5.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A5671
Deuteranopia (green-blind)
#6D6D6C
Tritanopia (blue-blind)
#BF264D
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #b1336f; /* rgb */ color: rgb(177, 51, 111); /* oklch */ color: oklch(52.7% 0.170 355.5);
Tailwind
colors: {
custom: {
50: '#cd7598',
500: '#b1336f',
950: '#000000',
},
}SCSS
$custom: #b1336f; $custom-light: #cd7598; $custom-dark: #000000;
JSON
{
"hex": "#b1336f",
"rgb": {
"r": 177,
"g": 51,
"b": 111
},
"hsl": {
"h": 331.429,
"s": 55.263,
"l": 44.706
},
"oklch": {
"l": 0.52724,
"c": 0.17047,
"h": 355.5
},
"luminance": 0.12862
}Semantic roles & 50–950 ramp
primary
#B1336F
secondary
#7BC5A2
accent
#DF9749
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090D
muted
#837B7E