#7B245F#7B245F
#7B245F is a dark, vivid pink. Relative luminance 0.063; OKLCH L 41.6% C 0.137 H 343.2°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).
Color values
| HEX | #7B245F |
|---|---|
| RGB | rgb(123, 36, 95) |
| HSL | hsl(319, 55%, 31%) |
| HSV | hsv(319, 71%, 48%) |
| CMYK | cmyk(0%, 70.7%, 22.8%, 51.8%) |
| CIE-LAB | lab(30.16, 43.71, -14.87) |
| CIE-LCH | lch(30.16, 46.17, 341.21°) |
| OKLab | oklab(41.6% 0.1313 -0.0397) |
| OKLCH | oklch(41.6% 0.137 343.2) |
| XYZ | xyz(10.8652, 6.3000, 11.4681) |
| Luminance | 0.0630 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 4.11
Grape
#6C3461
ΔE00 4.86
Rich Purple
#720058
ΔE00 4.87
Bruise
#7E4071
ΔE00 6.55
Darkish Purple
#751973
ΔE00 6.62
Red Violet
#9E0168
ΔE00 6.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B245F #247B40
analogous
#6B247B #7B245F #7B2433
triadic
#7B245F #5F7B24 #245F7B
tetradic
#7B245F #7B6B24 #247B40 #24337B
square
#7B245F #7B6B24 #247B40 #24337B
split-complementary
#7B245F #337B24 #247B6B
monochromatic
#1C0816 #4C163A #7B245F #AA3284 #CB4EA3
Accessibility & contrast
On white
9.29
#7B245F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.26
#7B245F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7B245F
9.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B245F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B245F | 1.00 | 9.29 | 2.26 | 9.29 |
| #FFFFFF | 9.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C3E61
Deuteranopia (green-blind)
#464C5D
Tritanopia (blue-blind)
#83243E
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #7b245f; /* rgb */ color: rgb(123, 36, 95); /* oklch */ color: oklch(41.6% 0.137 343.2);
Tailwind
colors: {
custom: {
50: '#a4668c',
500: '#7b245f',
950: '#000000',
},
}SCSS
$custom: #7b245f; $custom-light: #a4668c; $custom-dark: #000000;
JSON
{
"hex": "#7b245f",
"rgb": {
"r": 123,
"g": 36,
"b": 95
},
"hsl": {
"h": 319.31,
"s": 54.717,
"l": 31.176
},
"oklch": {
"l": 0.416,
"c": 0.13719,
"h": 343.2
},
"luminance": 0.06299
}Semantic roles & 50–950 ramp
primary
#7B245F
secondary
#4DAD6C
accent
#DE794A
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D