#B2388E#B2388E
#B2388E is a mid, vivid pink. Relative luminance 0.142; OKLCH L 54.6% C 0.182 H 341.7°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).
Color values
| HEX | #B2388E |
|---|---|
| RGB | rgb(178, 56, 142) |
| HSL | hsl(318, 52%, 46%) |
| HSV | hsv(318, 69%, 70%) |
| CMYK | cmyk(0%, 68.5%, 20.2%, 30.2%) |
| CIE-LAB | lab(44.59, 57.74, -21.25) |
| CIE-LCH | lch(44.59, 61.52, 339.80°) |
| OKLab | oklab(54.63% 0.1727 -0.057) |
| OKLCH | oklch(54.63% 0.182 341.7) |
| XYZ | xyz(24.6575, 14.2487, 27.0376) |
| Luminance | 0.1425 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mediumvioletred
#C71585
ΔE00 4.75
Ugly Purple
#A442A0
ΔE00 5.32
Magenta (survey)
#C20078
ΔE00 6.37
Medium Purple
#9E43A2
ΔE00 6.63
Purpleish
#98568D
ΔE00 7.38
Warm Purple
#952E8F
ΔE00 7.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2388E #38B25C
analogous
#9938B2 #B2388E #B23851
triadic
#B2388E #8EB238 #388EB2
tetradic
#B2388E #B29938 #38B25C #3851B2
square
#B2388E #B29938 #38B25C #3851B2
split-complementary
#B2388E #51B238 #38B299
monochromatic
#551B44 #832969 #B2388E #CC5CAB #DA8AC3
Accessibility & contrast
On white
5.46
#B2388E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.85
#B2388E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B2388E
5.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2388E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B2388E | 1.00 | 5.46 | 3.85 | 5.46 |
| #FFFFFF | 5.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#425D90
Deuteranopia (green-blind)
#67718B
Tritanopia (blue-blind)
#BD3A5E
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #b2388e; /* rgb */ color: rgb(178, 56, 142); /* oklch */ color: oklch(54.6% 0.182 341.7);
Tailwind
colors: {
custom: {
50: '#cd78af',
500: '#b2388e',
950: '#000000',
},
}SCSS
$custom: #b2388e; $custom-light: #cd78af; $custom-dark: #000000;
JSON
{
"hex": "#b2388e",
"rgb": {
"r": 178,
"g": 56,
"b": 142
},
"hsl": {
"h": 317.705,
"s": 52.137,
"l": 45.882
},
"oklch": {
"l": 0.54629,
"c": 0.1819,
"h": 341.7
},
"luminance": 0.14246
}Semantic roles & 50–950 ramp
primary
#B2388E
secondary
#81C595
accent
#DC774C
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#140A10
muted
#837C7F