#792257#792257
#792257 is a dark, vivid pink. Relative luminance 0.059; OKLCH L 40.7% C 0.133 H 347.2°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).
Color values
| HEX | #792257 |
|---|---|
| RGB | rgb(121, 34, 87) |
| HSL | hsl(323, 56%, 30%) |
| HSV | hsv(323, 72%, 47%) |
| CMYK | cmyk(0%, 71.9%, 28.1%, 52.5%) |
| CIE-LAB | lab(29.15, 42.80, -11.22) |
| CIE-LCH | lch(29.15, 44.25, 345.31°) |
| OKLab | oklab(40.68% 0.1299 -0.0296) |
| OKLCH | oklch(40.68% 0.133 347.2) |
| XYZ | xyz(10.1779, 5.8982, 9.6174) |
| Luminance | 0.0590 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 3.41
Rich Purple
#720058
ΔE00 5.18
Red Purple
#820747
ΔE00 5.39
Grape
#6C3461
ΔE00 5.56
Reddish Purple
#910951
ΔE00 5.99
Dark Magenta
#960056
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#792257 #227944
analogous
#6F2279 #792257 #79222C
triadic
#792257 #577922 #225779
tetradic
#792257 #796F22 #227944 #222C79
square
#792257 #796F22 #227944 #222C79
split-complementary
#792257 #2C7922 #22796F
monochromatic
#190712 #491535 #792257 #A92F79 #CC4999
Accessibility & contrast
On white
9.64
#792257 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.18
#792257 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #792257
9.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##792257 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##792257 | 1.00 | 9.64 | 2.18 | 9.64 |
| #FFFFFF | 9.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D3B59
Deuteranopia (green-blind)
#474A55
Tritanopia (blue-blind)
#821F39
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #792257; /* rgb */ color: rgb(121, 34, 87); /* oklch */ color: oklch(40.7% 0.133 347.2);
Tailwind
colors: {
custom: {
50: '#a36586',
500: '#792257',
950: '#000000',
},
}SCSS
$custom: #792257; $custom-light: #a36586; $custom-dark: #000000;
JSON
{
"hex": "#792257",
"rgb": {
"r": 121,
"g": 34,
"b": 87
},
"hsl": {
"h": 323.448,
"s": 56.129,
"l": 30.392
},
"oklch": {
"l": 0.40684,
"c": 0.13319,
"h": 347.2
},
"luminance": 0.05897
}Semantic roles & 50–950 ramp
primary
#792257
secondary
#4BAC71
accent
#DF8348
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C