#B2315F#B2315F
#B2315F is a mid, vivid pink. Relative luminance 0.125; OKLCH L 52.2% C 0.168 H 3.5°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).
Color values
| HEX | #B2315F |
|---|---|
| RGB | rgb(178, 49, 95) |
| HSL | hsl(339, 57%, 45%) |
| HSV | hsv(339, 72%, 70%) |
| CMYK | cmyk(0%, 72.5%, 46.6%, 30.2%) |
| CIE-LAB | lab(41.99, 54.84, 3.82) |
| CIE-LCH | lch(41.99, 54.97, 3.98°) |
| OKLab | oklab(52.17% 0.1678 0.0104) |
| OKLCH | oklch(52.17% 0.168 3.5) |
| XYZ | xyz(21.5257, 12.4906, 12.1017) |
| Luminance | 0.1249 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 3.76
Deep Pink
#CB0162
ΔE00 4.47
Purplish Red
#B0054B
ΔE00 5.22
Raspberry (survey)
#B00149
ΔE00 5.63
Dark Rose
#B5485D
ΔE00 6.16
Violet Red
#A50055
ΔE00 6.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2315F #31B284
analogous
#B2319F #B2315F #B24431
triadic
#B2315F #5FB231 #315FB2
tetradic
#B2315F #9FB231 #31B284 #4431B2
square
#B2315F #9FB231 #31B284 #4431B2
split-complementary
#B2315F #31B244 #319FB2
monochromatic
#52172C #822445 #B2315F #CF517E #DC81A2
Accessibility & contrast
On white
6.00
#B2315F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.50
#B2315F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B2315F
6.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2315F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B2315F | 1.00 | 6.00 | 3.50 | 6.00 |
| #FFFFFF | 6.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4E5360
Deuteranopia (green-blind)
#716C5C
Tritanopia (blue-blind)
#C11A44
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #b2315f; /* rgb */ color: rgb(178, 49, 95); /* oklch */ color: oklch(52.2% 0.168 3.5);
Tailwind
colors: {
custom: {
50: '#ce748c',
500: '#b2315f',
950: '#000000',
},
}SCSS
$custom: #b2315f; $custom-light: #ce748c; $custom-dark: #000000;
JSON
{
"hex": "#b2315f",
"rgb": {
"r": 178,
"g": 49,
"b": 95
},
"hsl": {
"h": 338.605,
"s": 56.828,
"l": 44.51
},
"oklch": {
"l": 0.52174,
"c": 0.16812,
"h": 3.5
},
"luminance": 0.12488
}Semantic roles & 50–950 ramp
primary
#B2315F
secondary
#79C5AA
accent
#E0AA48
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#15090C
muted
#837B7D