#B2498D#B2498D
#B2498D is a mid, vivid pink. Relative luminance 0.162; OKLCH L 56.5% C 0.157 H 343.6°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).
Color values
| HEX | #B2498D |
|---|---|
| RGB | rgb(178, 73, 141) |
| HSL | hsl(321, 42%, 49%) |
| HSV | hsv(321, 59%, 70%) |
| CMYK | cmyk(0%, 59%, 20.8%, 30.2%) |
| CIE-LAB | lab(47.18, 50.38, -16.67) |
| CIE-LCH | lch(47.18, 53.06, 341.69°) |
| OKLab | oklab(56.52% 0.1506 -0.0444) |
| OKLCH | oklch(56.52% 0.157 343.6) |
| XYZ | xyz(25.5510, 16.1554, 26.9668) |
| Luminance | 0.1615 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Plum
#9D5783
ΔE00 5.39
Purpleish
#98568D
ΔE00 5.83
Mediumvioletred
#C71585
ΔE00 6.29
Purplish
#94568C
ΔE00 6.63
Ugly Purple
#A442A0
ΔE00 6.86
Magenta (survey)
#C20078
ΔE00 7.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2498D #49B26E
analogous
#A349B2 #B2498D #B24959
triadic
#B2498D #8DB249 #498DB2
tetradic
#B2498D #B2A349 #49B26E #4959B2
square
#B2498D #B2A349 #49B26E #4959B2
split-complementary
#B2498D #59B249 #49B2A3
monochromatic
#5B2548 #87376B #B2498D #C573A8 #D79EC3
Accessibility & contrast
On white
4.96
#B2498D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.23
#B2498D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B2498D
4.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2498D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B2498D | 1.00 | 4.96 | 4.23 | 4.96 |
| #FFFFFF | 4.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#52658F
Deuteranopia (green-blind)
#6F768A
Tritanopia (blue-blind)
#BD4965
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #b2498d; /* rgb */ color: rgb(178, 73, 141); /* oklch */ color: oklch(56.5% 0.157 343.6);
Tailwind
colors: {
custom: {
50: '#cc81ae',
500: '#b2498d',
950: '#000000',
},
}SCSS
$custom: #b2498d; $custom-light: #cc81ae; $custom-dark: #000000;
JSON
{
"hex": "#b2498d",
"rgb": {
"r": 178,
"g": 73,
"b": 141
},
"hsl": {
"h": 321.143,
"s": 41.833,
"l": 49.216
},
"oklch": {
"l": 0.56518,
"c": 0.15704,
"h": 343.6
},
"luminance": 0.16153
}Semantic roles & 50–950 ramp
primary
#B2498D
secondary
#93C4A4
accent
#D28256
background
#FCF8FA
surface
#F9EFF4
border
#D2CACE
text
#140B10
muted
#827C7F