#7E154D#7E154D

#7E154D is a dark, vivid pink. Relative luminance 0.055; OKLCH L 40.0% C 0.147 H 354.0°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#7E154D
RGBrgb(126, 21, 77)
HSLhsl(328, 71%, 29%)
HSVhsv(328, 83%, 49%)
CMYKcmyk(0%, 83.3%, 38.9%, 50.6%)
CIE-LABlab(28.14, 47.45, -6.05)
CIE-LCHlch(28.14, 47.84, 352.74°)
OKLaboklab(39.99% 0.1459 -0.0154)
OKLCHoklch(39.99% 0.147 354)
XYZxyz(10.2126, 5.5091, 7.5453)
Luminance0.0551 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E154D #157E46
analogous
#7B157E #7E154D #7E1519
triadic
#7E154D #4D7E15 #154D7E
tetradic
#7E154D #7E7B15 #157E46 #15197E
square
#7E154D #7E7B15 #157E46 #15197E
split-complementary
#7E154D #197E15 #157E7B
monochromatic
#1A0410 #4A0C2D #7E154D #B21E6D #DD318C

Accessibility & contrast

On white

9.99
#7E154D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#7E154D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E154D
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E154D#FFFFFF#000000##FFFFFF
##7E154D1.009.992.109.99
#FFFFFF9.991.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B364E
Deuteranopia (green-blind)
#49494B
Tritanopia (blue-blind)
#88052F
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7e154d;
/* rgb */ color: rgb(126, 21, 77);
/* oklch */ color: oklch(40.0% 0.147 354.0);
Tailwind
colors: {
  custom: {
    50: '#a8607e',
    500: '#7e154d',
    950: '#000000',
  },
}
SCSS
$custom: #7e154d;
$custom-light: #a8607e;
$custom-dark: #000000;
JSON
{
  "hex": "#7e154d",
  "rgb": {
    "r": 126,
    "g": 21,
    "b": 77
  },
  "hsl": {
    "h": 328,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.39991,
    "c": 0.14675,
    "h": 354
  },
  "luminance": 0.05508
}

Semantic roles & 50–950 ramp

primary
#7E154D
secondary
#3CB373
accent
#EE8E3A
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10050A
muted
#7F7A7C

Preview Lab

Preview with #7E154D

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

Preview Lab → · Contrast checker → · Palette generator →

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