#7A245D#7A245D
#7A245D is a dark, vivid pink. Relative luminance 0.062; OKLCH L 41.3% C 0.135 H 344.0°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).
Color values
| HEX | #7A245D |
|---|---|
| RGB | rgb(122, 36, 93) |
| HSL | hsl(320, 54%, 31%) |
| HSV | hsv(320, 70%, 48%) |
| CMYK | cmyk(0%, 70.5%, 23.8%, 52.2%) |
| CIE-LAB | lab(29.89, 43.13, -14.00) |
| CIE-LCH | lch(29.89, 45.34, 342.02°) |
| OKLab | oklab(41.34% 0.1298 -0.0373) |
| OKLCH | oklch(41.34% 0.135 344) |
| XYZ | xyz(10.6331, 6.1907, 10.9887) |
| Luminance | 0.0619 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 3.92
Grape
#6C3461
ΔE00 4.85
Rich Purple
#720058
ΔE00 4.90
Red Purple
#820747
ΔE00 6.65
Bruise
#7E4071
ΔE00 6.73
Red Violet
#9E0168
ΔE00 6.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A245D #247A41
analogous
#6C247A #7A245D #7A2432
triadic
#7A245D #5D7A24 #245D7A
tetradic
#7A245D #7A6C24 #247A41 #24327A
square
#7A245D #7A6C24 #247A41 #24327A
split-complementary
#7A245D #327A24 #247A6C
monochromatic
#1B0815 #4B1639 #7A245D #A93281 #CB4EA1
Accessibility & contrast
On white
9.38
#7A245D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.24
#7A245D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7A245D
9.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A245D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A245D | 1.00 | 9.38 | 2.24 | 9.38 |
| #FFFFFF | 9.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D3D5F
Deuteranopia (green-blind)
#464C5B
Tritanopia (blue-blind)
#82243D
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #7a245d; /* rgb */ color: rgb(122, 36, 93); /* oklch */ color: oklch(41.3% 0.135 344.0);
Tailwind
colors: {
custom: {
50: '#a4668b',
500: '#7a245d',
950: '#000000',
},
}SCSS
$custom: #7a245d; $custom-light: #a4668b; $custom-dark: #000000;
JSON
{
"hex": "#7a245d",
"rgb": {
"r": 122,
"g": 36,
"b": 93
},
"hsl": {
"h": 320.233,
"s": 54.43,
"l": 30.98
},
"oklch": {
"l": 0.4134,
"c": 0.13507,
"h": 344
},
"luminance": 0.0619
}Semantic roles & 50–950 ramp
primary
#7A245D
secondary
#4DAC6D
accent
#DE7C4A
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D