#7E153B#7E153B

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

Color values

HEX#7E153B
RGBrgb(126, 21, 59)
HSLhsl(338, 71%, 29%)
HSVhsv(338, 83%, 49%)
CMYKcmyk(0%, 83.3%, 53.2%, 50.6%)
CIE-LABlab(27.54, 45.67, 5.17)
CIE-LCHlch(27.54, 45.96, 6.46°)
OKLaboklab(39.36% 0.1397 0.0135)
OKLCHoklch(39.36% 0.14 5.5)
XYZxyz(9.6627, 5.2891, 4.6489)
Luminance0.0529 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E153B #157E58
analogous
#7E1570 #7E153B #7E2415
triadic
#7E153B #3B7E15 #153B7E
tetradic
#7E153B #707E15 #157E58 #24157E
square
#7E153B #707E15 #157E58 #24157E
split-complementary
#7E153B #157E24 #15707E
monochromatic
#1A040C #4A0C22 #7E153B #B21E54 #DD316F

Accessibility & contrast

On white

10.21
#7E153B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E153B
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E153B#FFFFFF#000000##FFFFFF
##7E153B1.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#31343C
Deuteranopia (green-blind)
#4C4839
Tritanopia (blue-blind)
#8A0026
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7e153b;
/* rgb */ color: rgb(126, 21, 59);
/* oklch */ color: oklch(39.4% 0.140 5.5);
Tailwind
colors: {
  custom: {
    50: '#a95f70',
    500: '#7e153b',
    950: '#000000',
  },
}
SCSS
$custom: #7e153b;
$custom-light: #a95f70;
$custom-dark: #000000;
JSON
{
  "hex": "#7e153b",
  "rgb": {
    "r": 126,
    "g": 21,
    "b": 59
  },
  "hsl": {
    "h": 338.286,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.39361,
    "c": 0.14032,
    "h": 5.5
  },
  "luminance": 0.05288
}

Semantic roles & 50–950 ramp

primary
#7E153B
secondary
#3CB388
accent
#EEAD3A
background
#FBF5F6
surface
#F6EAEC
border
#D0C6C7
text
#110507
muted
#80797A

Preview Lab

Preview with #7E153B

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

Preview Lab → · Contrast checker → · Palette generator →

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