#7A254B#7A254B
#7A254B is a dark, vivid pink. Relative luminance 0.060; OKLCH L 40.7% C 0.124 H 356.6°. Best body text is #FFFFFF at 9.57:1 contrast (WCAG AA passes).
Color values
| HEX | #7A254B |
|---|---|
| RGB | rgb(122, 37, 75) |
| HSL | hsl(333, 53%, 31%) |
| HSV | hsv(333, 70%, 48%) |
| CMYK | cmyk(0%, 69.7%, 38.5%, 52.2%) |
| CIE-LAB | lab(29.34, 40.30, -3.02) |
| CIE-LCH | lch(29.34, 40.41, 355.71°) |
| OKLab | oklab(40.7% 0.1233 -0.0074) |
| OKLCH | oklch(40.7% 0.124 356.6) |
| XYZ | xyz(9.9582, 5.9699, 7.2831) |
| Luminance | 0.0597 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 3.70
Wine (survey)
#80013F
ΔE00 4.58
Reddish Purple
#910951
ΔE00 4.98
Mulberry
#920A4E
ΔE00 5.09
Merlot
#730039
ΔE00 5.28
Dark Magenta
#960056
ΔE00 6.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A254B #257A54
analogous
#7A2575 #7A254B #7A2925
triadic
#7A254B #4B7A25 #254B7A
tetradic
#7A254B #757A25 #257A54 #29257A
square
#7A254B #757A25 #257A54 #29257A
split-complementary
#7A254B #257A29 #25757A
monochromatic
#1C0911 #4B172E #7A254B #A93368 #CA5086
Accessibility & contrast
On white
9.57
#7A254B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.19
#7A254B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7A254B
9.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A254B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A254B | 1.00 | 9.57 | 2.19 | 9.57 |
| #FFFFFF | 9.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#343B4C
Deuteranopia (green-blind)
#4C4B49
Tritanopia (blue-blind)
#841D35
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #7a254b; /* rgb */ color: rgb(122, 37, 75); /* oklch */ color: oklch(40.7% 0.124 356.6);
Tailwind
colors: {
custom: {
50: '#a4667d',
500: '#7a254b',
950: '#000000',
},
}SCSS
$custom: #7a254b; $custom-light: #a4667d; $custom-dark: #000000;
JSON
{
"hex": "#7a254b",
"rgb": {
"r": 122,
"g": 37,
"b": 75
},
"hsl": {
"h": 333.176,
"s": 53.459,
"l": 31.176
},
"oklch": {
"l": 0.40703,
"c": 0.12355,
"h": 356.6
},
"luminance": 0.05969
}Semantic roles & 50–950 ramp
primary
#7A254B
secondary
#4EAC82
accent
#DD9C4B
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#100609
muted
#7F7A7B