#B5458B#B5458B
#B5458B is a mid, vivid pink. Relative luminance 0.159; OKLCH L 56.4% C 0.164 H 345.2°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).
Color values
| HEX | #B5458B |
|---|---|
| RGB | rgb(181, 69, 139) |
| HSL | hsl(323, 45%, 49%) |
| HSV | hsv(323, 62%, 71%) |
| CMYK | cmyk(0%, 61.9%, 23.2%, 29%) |
| CIE-LAB | lab(46.90, 52.79, -15.84) |
| CIE-LCH | lch(46.90, 55.12, 343.29°) |
| OKLab | oklab(56.38% 0.1588 -0.042) |
| OKLCH | oklch(56.38% 0.164 345.2) |
| XYZ | xyz(25.8452, 15.9465, 26.1379) |
| Luminance | 0.1594 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mediumvioletred
#C71585
ΔE00 5.40
Light Plum
#9D5783
ΔE00 6.01
Purpleish
#98568D
ΔE00 6.67
Magenta (survey)
#C20078
ΔE00 7.06
Ugly Purple
#A442A0
ΔE00 7.28
Purplish
#94568C
ΔE00 7.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B5458B #45B56F
analogous
#A745B5 #B5458B #B54553
triadic
#B5458B #8BB545 #458BB5
tetradic
#B5458B #B5A745 #45B56F #4553B5
square
#B5458B #B5A745 #45B56F #4553B5
split-complementary
#B5458B #53B545 #45B5A7
monochromatic
#5C2347 #893469 #B5458B #C86FA7 #D99BC2
Accessibility & contrast
On white
5.01
#B5458B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.19
#B5458B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B5458B
5.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B5458B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B5458B | 1.00 | 5.01 | 4.19 | 5.01 |
| #FFFFFF | 5.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#50638D
Deuteranopia (green-blind)
#707688
Tritanopia (blue-blind)
#C04462
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #b5458b; /* rgb */ color: rgb(181, 69, 139); /* oklch */ color: oklch(56.4% 0.164 345.2);
Tailwind
colors: {
custom: {
50: '#ce7fad',
500: '#b5458b',
950: '#000000',
},
}SCSS
$custom: #b5458b; $custom-light: #ce7fad; $custom-dark: #000000;
JSON
{
"hex": "#b5458b",
"rgb": {
"r": 181,
"g": 69,
"b": 139
},
"hsl": {
"h": 322.5,
"s": 44.8,
"l": 49.02
},
"oklch": {
"l": 0.56383,
"c": 0.16423,
"h": 345.2
},
"luminance": 0.15944
}Semantic roles & 50–950 ramp
primary
#B5458B
secondary
#91C5A4
accent
#D58453
background
#FDF8FA
surface
#FAEFF4
border
#D3CACE
text
#140B10
muted
#837C7F