#7E154A#7E154A

#7E154A is a dark, vivid pink. Relative luminance 0.055; OKLCH L 39.9% C 0.145 H 355.9°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#7E154A
RGBrgb(126, 21, 74)
HSLhsl(330, 71%, 29%)
HSVhsv(330, 83%, 49%)
CMYKcmyk(0%, 83.3%, 41.3%, 50.6%)
CIE-LABlab(28.03, 47.12, -4.21)
CIE-LCHlch(28.03, 47.31, 354.89°)
OKLaboklab(39.87% 0.145 -0.0105)
OKLCHoklch(39.87% 0.145 355.9)
XYZxyz(10.1091, 5.4677, 7.0003)
Luminance0.0547 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E154A #157E49
analogous
#7E157E #7E154A #7E1516
triadic
#7E154A #4A7E15 #154A7E
tetradic
#7E154A #7E7E15 #157E49 #15167E
square
#7E154A #7E7E15 #157E49 #15167E
split-complementary
#7E154A #167E15 #157E7E
monochromatic
#1A040F #4A0C2B #7E154A #B21E69 #DD3188

Accessibility & contrast

On white

10.03
#7E154A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#7E154A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E154A
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E154A#FFFFFF#000000##FFFFFF
##7E154A1.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C364B
Deuteranopia (green-blind)
#494948
Tritanopia (blue-blind)
#89022E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7e154a;
/* rgb */ color: rgb(126, 21, 74);
/* oklch */ color: oklch(39.9% 0.145 355.9);
Tailwind
colors: {
  custom: {
    50: '#a8607c',
    500: '#7e154a',
    950: '#000000',
  },
}
SCSS
$custom: #7e154a;
$custom-light: #a8607c;
$custom-dark: #000000;
JSON
{
  "hex": "#7e154a",
  "rgb": {
    "r": 126,
    "g": 21,
    "b": 74
  },
  "hsl": {
    "h": 329.714,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.39874,
    "c": 0.1454,
    "h": 355.9
  },
  "luminance": 0.05466
}

Semantic roles & 50–950 ramp

primary
#7E154A
secondary
#3CB377
accent
#EE933A
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#100509
muted
#7F7A7B

Preview Lab

Preview with #7E154A

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#7E154A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva