#B23162#B23162
#B23162 is a mid, vivid pink. Relative luminance 0.125; OKLCH L 52.3% C 0.169 H 2.0°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).
Color values
| HEX | #B23162 |
|---|---|
| RGB | rgb(178, 49, 98) |
| HSL | hsl(337, 57%, 45%) |
| HSV | hsv(337, 72%, 70%) |
| CMYK | cmyk(0%, 72.5%, 44.9%, 30.2%) |
| CIE-LAB | lab(42.07, 55.12, 2.06) |
| CIE-LCH | lch(42.07, 55.16, 2.14°) |
| OKLab | oklab(52.26% 0.1689 0.0059) |
| OKLCH | oklch(52.26% 0.169 2) |
| XYZ | xyz(21.6647, 12.5462, 12.8337) |
| Luminance | 0.1254 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 4.31
Deep Pink
#CB0162
ΔE00 4.49
Purplish Red
#B0054B
ΔE00 5.75
Violet Red
#A50055
ΔE00 6.15
Raspberry (survey)
#B00149
ΔE00 6.19
Magenta (survey)
#C20078
ΔE00 6.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B23162 #31B281
analogous
#B231A3 #B23162 #B24031
triadic
#B23162 #62B231 #3162B2
tetradic
#B23162 #A3B231 #31B281 #4031B2
square
#B23162 #A3B231 #31B281 #4031B2
split-complementary
#B23162 #31B240 #31A3B2
monochromatic
#52172D #822448 #B23162 #CF5181 #DC81A4
Accessibility & contrast
On white
5.99
#B23162 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.51
#B23162 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B23162
5.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B23162 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B23162 | 1.00 | 5.99 | 3.51 | 5.99 |
| #FFFFFF | 5.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D5363
Deuteranopia (green-blind)
#706C5F
Tritanopia (blue-blind)
#C11C46
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #b23162; /* rgb */ color: rgb(178, 49, 98); /* oklch */ color: oklch(52.3% 0.169 2.0);
Tailwind
colors: {
custom: {
50: '#ce748e',
500: '#b23162',
950: '#000000',
},
}SCSS
$custom: #b23162; $custom-light: #ce748e; $custom-dark: #000000;
JSON
{
"hex": "#b23162",
"rgb": {
"r": 178,
"g": 49,
"b": 98
},
"hsl": {
"h": 337.209,
"s": 56.828,
"l": 44.51
},
"oklch": {
"l": 0.52265,
"c": 0.16897,
"h": 2
},
"luminance": 0.12543
}Semantic roles & 50–950 ramp
primary
#B23162
secondary
#79C5A9
accent
#E0A648
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#15090C
muted
#837B7D