#B2285A#B2285A
#B2285A is a mid, vivid pink. Relative luminance 0.117; OKLCH L 51.2% C 0.176 H 4.5°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).
Color values
| HEX | #B2285A |
|---|---|
| RGB | rgb(178, 40, 90) |
| HSL | hsl(338, 63%, 43%) |
| HSV | hsv(338, 78%, 70%) |
| CMYK | cmyk(0%, 77.5%, 49.4%, 30.2%) |
| CIE-LAB | lab(40.77, 57.40, 5.22) |
| CIE-LCH | lch(40.77, 57.63, 5.20°) |
| OKLab | oklab(51.24% 0.1757 0.0139) |
| OKLCH | oklch(51.24% 0.176 4.5) |
| XYZ | xyz(20.9662, 11.7236, 10.8297) |
| Luminance | 0.1172 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 3.80
Raspberry (survey)
#B00149
ΔE00 4.23
Deep Pink
#CB0162
ΔE00 4.38
Light Burgundy
#A8415B
ΔE00 4.41
Violet Red
#A50055
ΔE00 5.36
Berry
#990F4B
ΔE00 6.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2285A #28B280
analogous
#B2289F #B2285A #B23B28
triadic
#B2285A #5AB228 #285AB2
tetradic
#B2285A #9FB228 #28B280 #3B28B2
square
#B2285A #9FB228 #28B280 #3B28B2
split-complementary
#B2285A #28B23B #289FB2
monochromatic
#4E1227 #801D41 #B2285A #D54377 #E0759B
Accessibility & contrast
On white
6.28
#B2285A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.34
#B2285A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B2285A
6.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2285A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B2285A | 1.00 | 6.28 | 3.34 | 6.28 |
| #FFFFFF | 6.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A4F5B
Deuteranopia (green-blind)
#6F6A57
Tritanopia (blue-blind)
#C2003E
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #b2285a; /* rgb */ color: rgb(178, 40, 90); /* oklch */ color: oklch(51.2% 0.176 4.5);
Tailwind
colors: {
custom: {
50: '#cf7088',
500: '#b2285a',
950: '#000000',
},
}SCSS
$custom: #b2285a; $custom-light: #cf7088; $custom-dark: #000000;
JSON
{
"hex": "#b2285a",
"rgb": {
"r": 178,
"g": 40,
"b": 90
},
"hsl": {
"h": 338.261,
"s": 63.303,
"l": 42.745
},
"oklch": {
"l": 0.51235,
"c": 0.17621,
"h": 4.5
},
"luminance": 0.11721
}Semantic roles & 50–950 ramp
primary
#B2285A
secondary
#6FC7A7
accent
#E6AB41
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15080B
muted
#837B7C