#B2315E#B2315E
#B2315E is a mid, vivid pink. Relative luminance 0.125; OKLCH L 52.1% C 0.168 H 4.0°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).
Color values
| HEX | #B2315E |
|---|---|
| RGB | rgb(178, 49, 94) |
| HSL | hsl(339, 57%, 45%) |
| HSV | hsv(339, 72%, 70%) |
| CMYK | cmyk(0%, 72.5%, 47.2%, 30.2%) |
| CIE-LAB | lab(41.96, 54.74, 4.40) |
| CIE-LCH | lch(41.96, 54.92, 4.60°) |
| OKLab | oklab(52.14% 0.1674 0.0119) |
| OKLCH | oklch(52.14% 0.168 4) |
| XYZ | xyz(21.4805, 12.4726, 11.8638) |
| Luminance | 0.1247 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 3.60
Deep Pink
#CB0162
ΔE00 4.50
Purplish Red
#B0054B
ΔE00 5.06
Raspberry (survey)
#B00149
ΔE00 5.46
Dark Rose
#B5485D
ΔE00 5.98
Violet Red
#A50055
ΔE00 6.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2315E #31B285
analogous
#B2319F #B2315E #B24531
triadic
#B2315E #5EB231 #315EB2
tetradic
#B2315E #9FB231 #31B285 #4531B2
square
#B2315E #9FB231 #31B285 #4531B2
split-complementary
#B2315E #31B245 #319FB2
monochromatic
#52172B #822445 #B2315E #CF517D #DC81A1
Accessibility & contrast
On white
6.01
#B2315E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.49
#B2315E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B2315E
6.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2315E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B2315E | 1.00 | 6.01 | 3.49 | 6.01 |
| #FFFFFF | 6.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F535F
Deuteranopia (green-blind)
#716C5B
Tritanopia (blue-blind)
#C21A44
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #b2315e; /* rgb */ color: rgb(178, 49, 94); /* oklch */ color: oklch(52.1% 0.168 4.0);
Tailwind
colors: {
custom: {
50: '#ce748b',
500: '#b2315e',
950: '#000000',
},
}SCSS
$custom: #b2315e; $custom-light: #ce748b; $custom-dark: #000000;
JSON
{
"hex": "#b2315e",
"rgb": {
"r": 178,
"g": 49,
"b": 94
},
"hsl": {
"h": 339.07,
"s": 56.828,
"l": 44.51
},
"oklch": {
"l": 0.52144,
"c": 0.16786,
"h": 4
},
"luminance": 0.1247
}Semantic roles & 50–950 ramp
primary
#B2315E
secondary
#79C5AB
accent
#E0AB48
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#15090C
muted
#837B7D