#BA438E#BA438E
#BA438E is a mid, vivid pink. Relative luminance 0.164; OKLCH L 57.0% C 0.173 H 345.2°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).
Color values
| HEX | #BA438E |
|---|---|
| RGB | rgb(186, 67, 142) |
| HSL | hsl(322, 47%, 50%) |
| HSV | hsv(322, 64%, 73%) |
| CMYK | cmyk(0%, 64%, 23.7%, 27.1%) |
| CIE-LAB | lab(47.51, 55.52, -16.66) |
| CIE-LCH | lch(47.51, 57.96, 343.30°) |
| OKLab | oklab(57.02% 0.1672 -0.0442) |
| OKLCH | oklch(57.02% 0.173 345.2) |
| XYZ | xyz(27.1403, 16.4090, 27.3239) |
| Luminance | 0.1641 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mediumvioletred
#C71585
ΔE00 5.05
Light Plum
#9D5783
ΔE00 6.85
Magenta (survey)
#C20078
ΔE00 7.01
Purpleish
#98568D
ΔE00 7.38
Ugly Purple
#A442A0
ΔE00 7.40
Purpley Pink
#C83CB9
ΔE00 8.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA438E #43BA6F
analogous
#AB43BA #BA438E #BA4352
triadic
#BA438E #8EBA43 #438EBA
tetradic
#BA438E #BAAB43 #43BA6F #4352BA
square
#BA438E #BAAB43 #43BA6F #4352BA
split-complementary
#BA438E #52BA43 #43BAAB
monochromatic
#602349 #8D336C #BA438E #CB6FA9 #DB9CC4
Accessibility & contrast
On white
4.91
#BA438E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.28
#BA438E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA438E
4.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA438E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA438E | 1.00 | 4.91 | 4.28 | 4.91 |
| #FFFFFF | 4.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F6490
Deuteranopia (green-blind)
#72788B
Tritanopia (blue-blind)
#C64262
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #ba438e; /* rgb */ color: rgb(186, 67, 142); /* oklch */ color: oklch(57.0% 0.173 345.2);
Tailwind
colors: {
custom: {
50: '#d27faf',
500: '#ba438e',
950: '#000000',
},
}SCSS
$custom: #ba438e; $custom-light: #d27faf; $custom-dark: #000000;
JSON
{
"hex": "#ba438e",
"rgb": {
"r": 186,
"g": 67,
"b": 142
},
"hsl": {
"h": 322.185,
"s": 47.036,
"l": 49.608
},
"oklch": {
"l": 0.57021,
"c": 0.17295,
"h": 345.2
},
"luminance": 0.16406
}Semantic roles & 50–950 ramp
primary
#BA438E
secondary
#91C8A5
accent
#D78351
background
#FDF8FA
surface
#FAEFF4
border
#D3CACE
text
#150B10
muted
#837C7F