#7E153C#7E153C

#7E153C is a dark, vivid pink. Relative luminance 0.053; OKLCH L 39.4% C 0.141 H 4.9°. Best body text is #FFFFFF at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#7E153C
RGBrgb(126, 21, 60)
HSLhsl(338, 71%, 29%)
HSVhsv(338, 83%, 49%)
CMYKcmyk(0%, 83.3%, 52.4%, 50.6%)
CIE-LABlab(27.57, 45.76, 4.54)
CIE-LCHlch(27.57, 45.98, 5.66°)
OKLaboklab(39.39% 0.1401 0.012)
OKLCHoklch(39.39% 0.141 4.9)
XYZxyz(9.6888, 5.2996, 4.7868)
Luminance0.0530 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E153C #157E57
analogous
#7E1571 #7E153C #7E2215
triadic
#7E153C #3C7E15 #153C7E
tetradic
#7E153C #717E15 #157E57 #22157E
square
#7E153C #717E15 #157E57 #22157E
split-complementary
#7E153C #157E22 #15717E
monochromatic
#1A040C #4A0C23 #7E153C #B21E55 #DD3171

Accessibility & contrast

On white

10.20
#7E153C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#7E153C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E153C
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E153C#FFFFFF#000000##FFFFFF
##7E153C1.0010.202.0610.20
#FFFFFF10.201.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#31343D
Deuteranopia (green-blind)
#4C483A
Tritanopia (blue-blind)
#8A0027
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7e153c;
/* rgb */ color: rgb(126, 21, 60);
/* oklch */ color: oklch(39.4% 0.141 4.9);
Tailwind
colors: {
  custom: {
    50: '#a95f71',
    500: '#7e153c',
    950: '#000000',
  },
}
SCSS
$custom: #7e153c;
$custom-light: #a95f71;
$custom-dark: #000000;
JSON
{
  "hex": "#7e153c",
  "rgb": {
    "r": 126,
    "g": 21,
    "b": 60
  },
  "hsl": {
    "h": 337.714,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.39392,
    "c": 0.14057,
    "h": 4.9
  },
  "luminance": 0.05298
}

Semantic roles & 50–950 ramp

primary
#7E153C
secondary
#3CB387
accent
#EEAB3A
background
#FBF5F6
surface
#F6EAEC
border
#D0C6C7
text
#110507
muted
#80797A

Preview Lab

Preview with #7E153C

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

Preview Lab → · Contrast checker → · Palette generator →

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