#B23199#B23199
#B23199 is a mid, vivid pink. Relative luminance 0.140; OKLCH L 54.5% C 0.198 H 336.9°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).
Color values
| HEX | #B23199 |
|---|---|
| RGB | rgb(178, 49, 153) |
| HSL | hsl(312, 57%, 45%) |
| HSV | hsv(312, 72%, 70%) |
| CMYK | cmyk(0%, 72.5%, 14%, 30.2%) |
| CIE-LAB | lab(44.18, 61.85, -28.51) |
| CIE-LCH | lch(44.18, 68.10, 335.25°) |
| OKLab | oklab(54.5% 0.182 -0.0775) |
| OKLCH | oklch(54.5% 0.198 336.9) |
| XYZ | xyz(25.2086, 13.9638, 31.4985) |
| Luminance | 0.1396 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Ugly Purple
#A442A0
ΔE00 3.69
Medium Purple
#9E43A2
ΔE00 4.91
Warm Purple
#952E8F
ΔE00 6.01
Mediumvioletred
#C71585
ΔE00 6.30
Barney
#AC1DB8
ΔE00 6.82
Barney Purple
#A00498
ΔE00 6.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B23199 #31B24A
analogous
#8B31B2 #B23199 #B23159
triadic
#B23199 #99B231 #3199B2
tetradic
#B23199 #B28B31 #31B24A #3159B2
square
#B23199 #B28B31 #31B24A #3159B2
split-complementary
#B23199 #59B231 #31B28B
monochromatic
#521747 #822470 #B23199 #CF51B7 #DC81CB
Accessibility & contrast
On white
5.54
#B23199 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.79
#B23199 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B23199
5.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B23199 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B23199 | 1.00 | 5.54 | 3.79 | 5.54 |
| #FFFFFF | 5.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#345C9C
Deuteranopia (green-blind)
#606F96
Tritanopia (blue-blind)
#BB3961
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #b23199; /* rgb */ color: rgb(178, 49, 153); /* oklch */ color: oklch(54.5% 0.198 336.9);
Tailwind
colors: {
custom: {
50: '#cd75b7',
500: '#b23199',
950: '#000000',
},
}SCSS
$custom: #b23199; $custom-light: #cd75b7; $custom-dark: #000000;
JSON
{
"hex": "#b23199",
"rgb": {
"r": 178,
"g": 49,
"b": 153
},
"hsl": {
"h": 311.628,
"s": 56.828,
"l": 44.51
},
"oklch": {
"l": 0.54495,
"c": 0.19785,
"h": 336.9
},
"luminance": 0.13962
}Semantic roles & 50–950 ramp
primary
#B23199
secondary
#79C588
accent
#E06548
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#140911
muted
#837B80