#BA468E#BA468E
#BA468E is a mid, vivid pink. Relative luminance 0.168; OKLCH L 57.4% C 0.169 H 345.5°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).
Color values
| HEX | #BA468E |
|---|---|
| RGB | rgb(186, 70, 142) |
| HSL | hsl(323, 46%, 50%) |
| HSV | hsv(323, 62%, 73%) |
| CMYK | cmyk(0%, 62.4%, 23.7%, 27.1%) |
| CIE-LAB | lab(47.98, 54.24, -15.94) |
| CIE-LCH | lch(47.98, 56.53, 343.62°) |
| OKLab | oklab(57.37% 0.1633 -0.0422) |
| OKLCH | oklch(57.37% 0.169 345.5) |
| XYZ | xyz(27.3233, 16.7750, 27.3849) |
| Luminance | 0.1677 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mediumvioletred
#C71585
ΔE00 5.53
Light Plum
#9D5783
ΔE00 6.57
Purpleish
#98568D
ΔE00 7.27
Magenta (survey)
#C20078
ΔE00 7.45
Ugly Purple
#A442A0
ΔE00 7.73
Purplish
#94568C
ΔE00 8.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA468E #46BA72
analogous
#AC46BA #BA468E #BA4654
triadic
#BA468E #8EBA46 #468EBA
tetradic
#BA468E #BAAC46 #46BA72 #4654BA
square
#BA468E #BAAC46 #46BA72 #4654BA
split-complementary
#BA468E #54BA46 #46BAAC
monochromatic
#61244A #8E356C #BA468E #CB73A9 #DB9FC4
Accessibility & contrast
On white
4.82
#BA468E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.35
#BA468E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA468E
4.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA468E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA468E | 1.00 | 4.82 | 4.35 | 4.82 |
| #FFFFFF | 4.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#526590
Deuteranopia (green-blind)
#73798B
Tritanopia (blue-blind)
#C64464
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #ba468e; /* rgb */ color: rgb(186, 70, 142); /* oklch */ color: oklch(57.4% 0.169 345.5);
Tailwind
colors: {
custom: {
50: '#d280af',
500: '#ba468e',
950: '#000000',
},
}SCSS
$custom: #ba468e; $custom-light: #d280af; $custom-dark: #000000;
JSON
{
"hex": "#ba468e",
"rgb": {
"r": 186,
"g": 70,
"b": 142
},
"hsl": {
"h": 322.759,
"s": 45.669,
"l": 50.196
},
"oklch": {
"l": 0.57366,
"c": 0.16866,
"h": 345.5
},
"luminance": 0.16772
}Semantic roles & 50–950 ramp
primary
#BA468E
secondary
#94C8A8
accent
#D58452
background
#FDF8FA
surface
#FAEFF4
border
#D3CACE
text
#140B10
muted
#837C7F