#B4315F#B4315F
#B4315F is a mid, vivid pink. Relative luminance 0.127; OKLCH L 52.5% C 0.170 H 4.0°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).
Color values
| HEX | #B4315F |
|---|---|
| RGB | rgb(180, 49, 95) |
| HSL | hsl(339, 57%, 45%) |
| HSV | hsv(339, 73%, 71%) |
| CMYK | cmyk(0%, 72.8%, 47.2%, 29.4%) |
| CIE-LAB | lab(42.35, 55.42, 4.39) |
| CIE-LCH | lch(42.35, 55.60, 4.53°) |
| OKLab | oklab(52.51% 0.1695 0.0118) |
| OKLCH | oklch(52.51% 0.17 4) |
| XYZ | xyz(21.9880, 12.7290, 12.1233) |
| Luminance | 0.1273 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 3.74
Deep Pink
#CB0162
ΔE00 4.21
Purplish Red
#B0054B
ΔE00 5.28
Raspberry (survey)
#B00149
ΔE00 5.67
Dark Rose
#B5485D
ΔE00 5.87
Dark Hot Pink
#D90166
ΔE00 6.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B4315F #31B486
analogous
#B431A1 #B4315F #B44431
triadic
#B4315F #5FB431 #315FB4
tetradic
#B4315F #A1B431 #31B486 #4431B4
square
#B4315F #A1B431 #31B486 #4431B4
split-complementary
#B4315F #31B444 #31A1B4
monochromatic
#54172C #842446 #B4315F #D0527E #DD82A2
Accessibility & contrast
On white
5.92
#B4315F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.55
#B4315F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B4315F
5.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B4315F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B4315F | 1.00 | 5.92 | 3.55 | 5.92 |
| #FFFFFF | 5.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F5460
Deuteranopia (green-blind)
#726D5C
Tritanopia (blue-blind)
#C41944
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #b4315f; /* rgb */ color: rgb(180, 49, 95); /* oklch */ color: oklch(52.5% 0.170 4.0);
Tailwind
colors: {
custom: {
50: '#d0748c',
500: '#b4315f',
950: '#000000',
},
}SCSS
$custom: #b4315f; $custom-light: #d0748c; $custom-dark: #000000;
JSON
{
"hex": "#b4315f",
"rgb": {
"r": 180,
"g": 49,
"b": 95
},
"hsl": {
"h": 338.931,
"s": 57.205,
"l": 44.902
},
"oklch": {
"l": 0.52512,
"c": 0.16995,
"h": 4
},
"luminance": 0.12726
}Semantic roles & 50–950 ramp
primary
#B4315F
secondary
#7BC6AC
accent
#E0AB47
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15090C
muted
#837B7D