#7B274B#7B274B
#7B274B is a dark, vivid pink. Relative luminance 0.062; OKLCH L 41.1% C 0.122 H 357.4°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).
Color values
| HEX | #7B274B |
|---|---|
| RGB | rgb(123, 39, 75) |
| HSL | hsl(334, 52%, 32%) |
| HSV | hsv(334, 68%, 48%) |
| CMYK | cmyk(0%, 68.3%, 39%, 51.8%) |
| CIE-LAB | lab(29.84, 39.74, -2.25) |
| CIE-LCH | lch(29.84, 39.81, 356.75°) |
| OKLab | oklab(41.11% 0.1216 -0.0054) |
| OKLCH | oklch(41.11% 0.122 357.4) |
| XYZ | xyz(10.1645, 6.1712, 7.3111) |
| Luminance | 0.0617 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 4.00
Wine (survey)
#80013F
ΔE00 4.73
Reddish Purple
#910951
ΔE00 5.07
Mulberry
#920A4E
ΔE00 5.09
Merlot
#730039
ΔE00 5.56
Dark Magenta
#960056
ΔE00 6.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B274B #277B57
analogous
#7B2775 #7B274B #7B2D27
triadic
#7B274B #4B7B27 #274B7B
tetradic
#7B274B #757B27 #277B57 #2D277B
square
#7B274B #757B27 #277B57 #2D277B
split-complementary
#7B274B #277B2D #27757B
monochromatic
#1E0A12 #4D182F #7B274B #A93667 #C95486
Accessibility & contrast
On white
9.40
#7B274B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.23
#7B274B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7B274B
9.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B274B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B274B | 1.00 | 9.40 | 2.23 | 9.40 |
| #FFFFFF | 9.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#363C4C
Deuteranopia (green-blind)
#4D4C49
Tritanopia (blue-blind)
#851F36
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #7b274b; /* rgb */ color: rgb(123, 39, 75); /* oklch */ color: oklch(41.1% 0.122 357.4);
Tailwind
colors: {
custom: {
50: '#a5677d',
500: '#7b274b',
950: '#000000',
},
}SCSS
$custom: #7b274b; $custom-light: #a5677d; $custom-dark: #000000;
JSON
{
"hex": "#7b274b",
"rgb": {
"r": 123,
"g": 39,
"b": 75
},
"hsl": {
"h": 334.286,
"s": 51.852,
"l": 31.765
},
"oklch": {
"l": 0.41111,
"c": 0.1217,
"h": 357.4
},
"luminance": 0.0617
}Semantic roles & 50–950 ramp
primary
#7B274B
secondary
#51AD85
accent
#DB9E4C
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#100609
muted
#7F7A7B