#B5245F#B5245F
#B5245F is a mid, vivid pink. Relative luminance 0.119; OKLCH L 51.6% C 0.184 H 2.3°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).
Color values
| HEX | #B5245F |
|---|---|
| RGB | rgb(181, 36, 95) |
| HSL | hsl(336, 67%, 43%) |
| HSV | hsv(336, 80%, 71%) |
| CMYK | cmyk(0%, 80.1%, 47.5%, 29%) |
| CIE-LAB | lab(41.08, 59.81, 2.58) |
| CIE-LCH | lch(41.08, 59.87, 2.47°) |
| OKLab | oklab(51.61% 0.1836 0.0073) |
| OKLCH | oklch(51.61% 0.184 2.3) |
| XYZ | xyz(21.7543, 11.9147, 11.9785) |
| Luminance | 0.1191 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Deep Pink
#CB0162
ΔE00 3.77
Purplish Red
#B0054B
ΔE00 4.70
Violet Red
#A50055
ΔE00 5.08
Raspberry (survey)
#B00149
ΔE00 5.16
Light Burgundy
#A8415B
ΔE00 5.42
Magenta (survey)
#C20078
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B5245F #24B57A
analogous
#B524A8 #B5245F #B53124
triadic
#B5245F #5FB524 #245FB5
tetradic
#B5245F #A8B524 #24B57A #3124B5
square
#B5245F #A8B524 #24B57A #3124B5
split-complementary
#B5245F #24B531 #24A8B5
monochromatic
#4F1029 #821A44 #B5245F #D93E7D #E3719F
Accessibility & contrast
On white
6.21
#B5245F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.38
#B5245F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B5245F
6.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B5245F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B5245F | 1.00 | 6.21 | 3.38 | 6.21 |
| #FFFFFF | 6.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#484F60
Deuteranopia (green-blind)
#6F6B5C
Tritanopia (blue-blind)
#C5003F
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #b5245f; /* rgb */ color: rgb(181, 36, 95); /* oklch */ color: oklch(51.6% 0.184 2.3);
Tailwind
colors: {
custom: {
50: '#d16f8c',
500: '#b5245f',
950: '#000000',
},
}SCSS
$custom: #b5245f; $custom-light: #d16f8c; $custom-dark: #000000;
JSON
{
"hex": "#b5245f",
"rgb": {
"r": 181,
"g": 36,
"b": 95
},
"hsl": {
"h": 335.586,
"s": 66.82,
"l": 42.549
},
"oklch": {
"l": 0.5161,
"c": 0.18372,
"h": 2.3
},
"luminance": 0.11912
}Semantic roles & 50–950 ramp
primary
#B5245F
secondary
#6BC9A3
accent
#EAA43E
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15080C
muted
#837B7D