#BA3E8D#BA3E8D
#BA3E8D is a mid, vivid pink. Relative luminance 0.158; OKLCH L 56.4% C 0.179 H 345.2°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).
Color values
| HEX | #BA3E8D |
|---|---|
| RGB | rgb(186, 62, 141) |
| HSL | hsl(322, 50%, 49%) |
| HSV | hsv(322, 67%, 73%) |
| CMYK | cmyk(0%, 66.7%, 24.2%, 27.1%) |
| CIE-LAB | lab(46.72, 57.43, -17.25) |
| CIE-LCH | lch(46.72, 59.96, 343.28°) |
| OKLab | oklab(56.43% 0.1732 -0.0458) |
| OKLCH | oklch(56.43% 0.179 345.2) |
| XYZ | xyz(26.7810, 15.8101, 26.8354) |
| Luminance | 0.1581 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mediumvioletred
#C71585
ΔE00 4.29
Magenta (survey)
#C20078
ΔE00 6.27
Ugly Purple
#A442A0
ΔE00 7.14
Light Plum
#9D5783
ΔE00 7.31
Purpleish
#98568D
ΔE00 7.70
Purpley Pink
#C83CB9
ΔE00 8.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA3E8D #3EBA6B
analogous
#A93EBA #BA3E8D #BA3E4F
triadic
#BA3E8D #8DBA3E #3E8DBA
tetradic
#BA3E8D #BAA93E #3EBA6B #3E4FBA
square
#BA3E8D #BAA93E #3EBA6B #3E4FBA
split-complementary
#BA3E8D #4FBA3E #3EBAA9
monochromatic
#5E1F47 #8C2F6A #BA3E8D #CD68A8 #DC96C3
Accessibility & contrast
On white
5.05
#BA3E8D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.16
#BA3E8D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA3E8D
5.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA3E8D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA3E8D | 1.00 | 5.05 | 4.16 | 5.05 |
| #FFFFFF | 5.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B618F
Deuteranopia (green-blind)
#70768A
Tritanopia (blue-blind)
#C63C60
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #ba3e8d; /* rgb */ color: rgb(186, 62, 141); /* oklch */ color: oklch(56.4% 0.179 345.2);
Tailwind
colors: {
custom: {
50: '#d27cae',
500: '#ba3e8d',
950: '#000000',
},
}SCSS
$custom: #ba3e8d; $custom-light: #d27cae; $custom-dark: #000000;
JSON
{
"hex": "#ba3e8d",
"rgb": {
"r": 186,
"g": 62,
"b": 141
},
"hsl": {
"h": 321.774,
"s": 50,
"l": 48.627
},
"oklch": {
"l": 0.56434,
"c": 0.1792,
"h": 345.2
},
"luminance": 0.15807
}Semantic roles & 50–950 ramp
primary
#BA3E8D
secondary
#8CC8A2
accent
#DA814E
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#150A10
muted
#837C7F