#B23157#B23157
#B23157 is a mid, vivid pink. Relative luminance 0.123; OKLCH L 51.9% C 0.166 H 7.6°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).
Color values
| HEX | #B23157 |
|---|---|
| RGB | rgb(178, 49, 87) |
| HSL | hsl(342, 57%, 45%) |
| HSV | hsv(342, 72%, 70%) |
| CMYK | cmyk(0%, 72.5%, 51.1%, 30.2%) |
| CIE-LAB | lab(41.77, 54.12, 8.52) |
| CIE-LCH | lch(41.77, 54.79, 8.95°) |
| OKLab | oklab(51.94% 0.1648 0.022) |
| OKLCH | oklch(51.94% 0.166 7.6) |
| XYZ | xyz(21.1806, 12.3526, 10.2839) |
| Luminance | 0.1235 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 3.05
Purplish Red
#B0054B
ΔE00 4.38
Raspberry (survey)
#B00149
ΔE00 4.63
Dark Rose
#B5485D
ΔE00 4.97
Deep Pink
#CB0162
ΔE00 5.23
Light Maroon
#A24857
ΔE00 5.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B23157 #31B28C
analogous
#B23197 #B23157 #B24C31
triadic
#B23157 #57B231 #3157B2
tetradic
#B23157 #97B231 #31B28C #4C31B2
square
#B23157 #97B231 #31B28C #4C31B2
split-complementary
#B23157 #31B24C #3197B2
monochromatic
#521728 #822440 #B23157 #CF5176 #DC819C
Accessibility & contrast
On white
6.05
#B23157 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.47
#B23157 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B23157
6.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B23157 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B23157 | 1.00 | 6.05 | 3.47 | 6.05 |
| #FFFFFF | 6.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#505258
Deuteranopia (green-blind)
#726C54
Tritanopia (blue-blind)
#C21541
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #b23157; /* rgb */ color: rgb(178, 49, 87); /* oklch */ color: oklch(51.9% 0.166 7.6);
Tailwind
colors: {
custom: {
50: '#cf7386',
500: '#b23157',
950: '#000000',
},
}SCSS
$custom: #b23157; $custom-light: #cf7386; $custom-dark: #000000;
JSON
{
"hex": "#b23157",
"rgb": {
"r": 178,
"g": 49,
"b": 87
},
"hsl": {
"h": 342.326,
"s": 56.828,
"l": 44.51
},
"oklch": {
"l": 0.51945,
"c": 0.16631,
"h": 7.6
},
"luminance": 0.1235
}Semantic roles & 50–950 ramp
primary
#B23157
secondary
#79C5AF
accent
#E0B348
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#15090B
muted
#837B7C