#B4276F#B4276F
#B4276F is a mid, vivid pink. Relative luminance 0.123; OKLCH L 52.2% C 0.186 H 354.9°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).
Color values
| HEX | #B4276F |
|---|---|
| RGB | rgb(180, 39, 111) |
| HSL | hsl(329, 64%, 43%) |
| HSV | hsv(329, 78%, 71%) |
| CMYK | cmyk(0%, 78.3%, 38.3%, 29.4%) |
| CIE-LAB | lab(41.70, 60.24, -6.57) |
| CIE-LCH | lch(41.70, 60.59, 353.78°) |
| OKLab | oklab(52.19% 0.1852 -0.0166) |
| OKLCH | oklch(52.19% 0.186 354.9) |
| XYZ | xyz(22.4187, 12.3049, 16.2304) |
| Luminance | 0.1230 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Magenta (survey)
#C20078
ΔE00 3.10
Mediumvioletred
#C71585
ΔE00 4.98
Deep Pink
#CB0162
ΔE00 5.97
Deep Magenta
#A0025C
ΔE00 6.12
Violet Red
#A50055
ΔE00 6.28
Dark Fuchsia
#9D0759
ΔE00 6.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B4276F #27B46C
analogous
#B327B4 #B4276F #B42728
triadic
#B4276F #6FB427 #276FB4
tetradic
#B4276F #B4B327 #27B46C #2728B4
square
#B4276F #B4B327 #27B46C #2728B4
split-complementary
#B4276F #28B427 #27B4B3
monochromatic
#4F1131 #821C50 #B4276F #D6428E #E174AC
Accessibility & contrast
On white
6.07
#B4276F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.46
#B4276F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B4276F
6.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B4276F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B4276F | 1.00 | 6.07 | 3.46 | 6.07 |
| #FFFFFF | 6.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#445271
Deuteranopia (green-blind)
#6C6C6C
Tritanopia (blue-blind)
#C31348
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #b4276f; /* rgb */ color: rgb(180, 39, 111); /* oklch */ color: oklch(52.2% 0.186 354.9);
Tailwind
colors: {
custom: {
50: '#d07098',
500: '#b4276f',
950: '#000000',
},
}SCSS
$custom: #b4276f; $custom-light: #d07098; $custom-dark: #000000;
JSON
{
"hex": "#b4276f",
"rgb": {
"r": 180,
"g": 39,
"b": 111
},
"hsl": {
"h": 329.362,
"s": 64.384,
"l": 42.941
},
"oklch": {
"l": 0.52193,
"c": 0.1859,
"h": 354.9
},
"luminance": 0.12302
}Semantic roles & 50–950 ramp
primary
#B4276F
secondary
#6FC89A
accent
#E79240
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#15080D
muted
#837B7E