#7E153A#7E153A

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

Color values

HEX#7E153A
RGBrgb(126, 21, 58)
HSLhsl(339, 71%, 29%)
HSVhsv(339, 83%, 49%)
CMYKcmyk(0%, 83.3%, 54%, 50.6%)
CIE-LABlab(27.51, 45.59, 5.81)
CIE-LCHlch(27.51, 45.96, 7.26°)
OKLaboklab(39.33% 0.1393 0.0151)
OKLCHoklch(39.33% 0.14 6.2)
XYZxyz(9.6370, 5.2788, 4.5136)
Luminance0.0528 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E153A #157E59
analogous
#7E156F #7E153A #7E2515
triadic
#7E153A #3A7E15 #153A7E
tetradic
#7E153A #6F7E15 #157E59 #25157E
square
#7E153A #6F7E15 #157E59 #25157E
split-complementary
#7E153A #157E25 #156F7E
monochromatic
#1A040C #4A0C22 #7E153A #B21E52 #DD316D

Accessibility & contrast

On white

10.22
#7E153A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E153A
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E153A#FFFFFF#000000##FFFFFF
##7E153A1.0010.222.0610.22
#FFFFFF10.221.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e153a;
/* rgb */ color: rgb(126, 21, 58);
/* oklch */ color: oklch(39.3% 0.140 6.2);
Tailwind
colors: {
  custom: {
    50: '#a95f6f',
    500: '#7e153a',
    950: '#000000',
  },
}
SCSS
$custom: #7e153a;
$custom-light: #a95f6f;
$custom-dark: #000000;
JSON
{
  "hex": "#7e153a",
  "rgb": {
    "r": 126,
    "g": 21,
    "b": 58
  },
  "hsl": {
    "h": 338.857,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.39331,
    "c": 0.14008,
    "h": 6.2
  },
  "luminance": 0.05277
}

Semantic roles & 50–950 ramp

primary
#7E153A
secondary
#3CB389
accent
#EEAF3A
background
#FBF5F6
surface
#F6EAEC
border
#D0C6C7
text
#110507
muted
#80797A

Preview Lab

Preview with #7E153A

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

Preview Lab → · Contrast checker → · Palette generator →

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