#B1267F#B1267F
#B1267F is a mid, vivid pink. Relative luminance 0.123; OKLCH L 52.2% C 0.193 H 346.8°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).
Color values
| HEX | #B1267F |
|---|---|
| RGB | rgb(177, 38, 127) |
| HSL | hsl(322, 65%, 42%) |
| HSV | hsv(322, 79%, 69%) |
| CMYK | cmyk(0%, 78.5%, 28.2%, 30.6%) |
| CIE-LAB | lab(41.64, 61.57, -16.63) |
| CIE-LCH | lch(41.64, 63.78, 344.88°) |
| OKLab | oklab(52.25% 0.1875 -0.044) |
| OKLCH | oklch(52.25% 0.193 346.8) |
| XYZ | xyz(22.6564, 12.2682, 21.2494) |
| Luminance | 0.1227 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Magenta (survey)
#C20078
ΔE00 3.78
Mediumvioletred
#C71585
ΔE00 3.89
Red Violet
#9E0168
ΔE00 6.20
Deep Magenta
#A0025C
ΔE00 7.63
Warm Purple
#952E8F
ΔE00 7.78
Ugly Purple
#A442A0
ΔE00 8.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B1267F #26B158
analogous
#9E26B1 #B1267F #B12639
triadic
#B1267F #7FB126 #267FB1
tetradic
#B1267F #B19E26 #26B158 #2639B1
square
#B1267F #B19E26 #26B158 #2639B1
split-complementary
#B1267F #39B126 #26B19E
monochromatic
#4C1037 #7F1B5B #B1267F #D63F9F #E071B8
Accessibility & contrast
On white
6.08
#B1267F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.45
#B1267F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B1267F
6.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B1267F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B1267F | 1.00 | 6.08 | 3.45 | 6.08 |
| #FFFFFF | 6.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B5381
Deuteranopia (green-blind)
#656B7C
Tritanopia (blue-blind)
#BE2150
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #b1267f; /* rgb */ color: rgb(177, 38, 127); /* oklch */ color: oklch(52.2% 0.193 346.8);
Tailwind
colors: {
custom: {
50: '#cd70a4',
500: '#b1267f',
950: '#000000',
},
}SCSS
$custom: #b1267f; $custom-light: #cd70a4; $custom-dark: #000000;
JSON
{
"hex": "#b1267f",
"rgb": {
"r": 177,
"g": 38,
"b": 127
},
"hsl": {
"h": 321.583,
"s": 64.651,
"l": 42.157
},
"oklch": {
"l": 0.52246,
"c": 0.19259,
"h": 346.8
},
"luminance": 0.12266
}Semantic roles & 50–950 ramp
primary
#B1267F
secondary
#6BC78C
accent
#E87C40
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#14080F
muted
#837B7F