#B2335B#B2335B
#B2335B is a mid, vivid pink. Relative luminance 0.126; OKLCH L 52.3% C 0.165 H 6.0°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).
Color values
| HEX | #B2335B |
|---|---|
| RGB | rgb(178, 51, 91) |
| HSL | hsl(341, 55%, 45%) |
| HSV | hsv(341, 71%, 70%) |
| CMYK | cmyk(0%, 71.3%, 48.9%, 30.2%) |
| CIE-LAB | lab(42.14, 53.74, 6.54) |
| CIE-LCH | lch(42.14, 54.13, 6.94°) |
| OKLab | oklab(52.25% 0.164 0.0172) |
| OKLCH | oklch(52.25% 0.165 6) |
| XYZ | xyz(21.4340, 12.5908, 11.1971) |
| Luminance | 0.1259 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 2.92
Deep Pink
#CB0162
ΔE00 4.88
Purplish Red
#B0054B
ΔE00 4.90
Dark Rose
#B5485D
ΔE00 5.09
Raspberry (survey)
#B00149
ΔE00 5.22
Light Maroon
#A24857
ΔE00 5.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2335B #33B28A
analogous
#B2339B #B2335B #B24A33
triadic
#B2335B #5BB233 #335BB2
tetradic
#B2335B #9BB233 #33B28A #4A33B2
square
#B2335B #9BB233 #33B28A #4A33B2
split-complementary
#B2335B #33B24A #339BB2
monochromatic
#53182A #822543 #B2335B #CE547B #DC849F
Accessibility & contrast
On white
5.97
#B2335B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.52
#B2335B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B2335B
5.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2335B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B2335B | 1.00 | 5.97 | 3.52 | 5.97 |
| #FFFFFF | 5.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#50535C
Deuteranopia (green-blind)
#726D58
Tritanopia (blue-blind)
#C21C43
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #b2335b; /* rgb */ color: rgb(178, 51, 91); /* oklch */ color: oklch(52.3% 0.165 6.0);
Tailwind
colors: {
custom: {
50: '#cf7489',
500: '#b2335b',
950: '#000000',
},
}SCSS
$custom: #b2335b; $custom-light: #cf7489; $custom-dark: #000000;
JSON
{
"hex": "#b2335b",
"rgb": {
"r": 178,
"g": 51,
"b": 91
},
"hsl": {
"h": 341.102,
"s": 55.459,
"l": 44.902
},
"oklch": {
"l": 0.52252,
"c": 0.16489,
"h": 6
},
"luminance": 0.12588
}Semantic roles & 50–950 ramp
primary
#B2335B
secondary
#7CC5AE
accent
#DFB049
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#15090B
muted
#837B7C