#7E154E#7E154E

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

Color values

HEX#7E154E
RGBrgb(126, 21, 78)
HSLhsl(327, 71%, 29%)
HSVhsv(327, 83%, 49%)
CMYKcmyk(0%, 83.3%, 38.1%, 50.6%)
CIE-LABlab(28.18, 47.56, -6.66)
CIE-LCHlch(28.18, 48.03, 352.03°)
OKLaboklab(40.03% 0.1462 -0.017)
OKLCHoklch(40.03% 0.147 353.4)
XYZxyz(10.2482, 5.5233, 7.7327)
Luminance0.0552 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E154E #157E45
analogous
#7A157E #7E154E #7E1519
triadic
#7E154E #4E7E15 #154E7E
tetradic
#7E154E #7E7A15 #157E45 #15197E
square
#7E154E #7E7A15 #157E45 #15197E
split-complementary
#7E154E #197E15 #157E7A
monochromatic
#1A0410 #4A0C2E #7E154E #B21E6E #DD318E

Accessibility & contrast

On white

9.98
#7E154E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E154E
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E154E#FFFFFF#000000##FFFFFF
##7E154E1.009.982.109.98
#FFFFFF9.981.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B364F
Deuteranopia (green-blind)
#49494C
Tritanopia (blue-blind)
#880630
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7e154e;
/* rgb */ color: rgb(126, 21, 78);
/* oklch */ color: oklch(40.0% 0.147 353.4);
Tailwind
colors: {
  custom: {
    50: '#a8607f',
    500: '#7e154e',
    950: '#000000',
  },
}
SCSS
$custom: #7e154e;
$custom-light: #a8607f;
$custom-dark: #000000;
JSON
{
  "hex": "#7e154e",
  "rgb": {
    "r": 126,
    "g": 21,
    "b": 78
  },
  "hsl": {
    "h": 327.429,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.40032,
    "c": 0.14722,
    "h": 353.4
  },
  "luminance": 0.05522
}

Semantic roles & 50–950 ramp

primary
#7E154E
secondary
#3CB372
accent
#EE8C3A
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10050A
muted
#7F7A7C

Preview Lab

Preview with #7E154E

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

Preview Lab → · Contrast checker → · Palette generator →

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