#7E154C#7E154C

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

Color values

HEX#7E154C
RGBrgb(126, 21, 76)
HSLhsl(329, 71%, 29%)
HSVhsv(329, 83%, 49%)
CMYKcmyk(0%, 83.3%, 39.7%, 50.6%)
CIE-LABlab(28.10, 47.34, -5.44)
CIE-LCHlch(28.10, 47.65, 353.45°)
OKLaboklab(39.95% 0.1456 -0.0138)
OKLCHoklch(39.95% 0.146 354.6)
XYZxyz(10.1776, 5.4951, 7.3608)
Luminance0.0549 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E154C #157E47
analogous
#7C157E #7E154C #7E1518
triadic
#7E154C #4C7E15 #154C7E
tetradic
#7E154C #7E7C15 #157E47 #15187E
square
#7E154C #7E7C15 #157E47 #15187E
split-complementary
#7E154C #187E15 #157E7C
monochromatic
#1A0410 #4A0C2C #7E154C #B21E6C #DD318B

Accessibility & contrast

On white

10.01
#7E154C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E154C
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E154C#FFFFFF#000000##FFFFFF
##7E154C1.0010.012.1010.01
#FFFFFF10.011.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C364D
Deuteranopia (green-blind)
#49494A
Tritanopia (blue-blind)
#89042F
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7e154c;
/* rgb */ color: rgb(126, 21, 76);
/* oklch */ color: oklch(40.0% 0.146 354.6);
Tailwind
colors: {
  custom: {
    50: '#a8607e',
    500: '#7e154c',
    950: '#000000',
  },
}
SCSS
$custom: #7e154c;
$custom-light: #a8607e;
$custom-dark: #000000;
JSON
{
  "hex": "#7e154c",
  "rgb": {
    "r": 126,
    "g": 21,
    "b": 76
  },
  "hsl": {
    "h": 328.571,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.39952,
    "c": 0.14629,
    "h": 354.6
  },
  "luminance": 0.05494
}

Semantic roles & 50–950 ramp

primary
#7E154C
secondary
#3CB375
accent
#EE903A
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#100509
muted
#7F7A7B

Preview Lab

Preview with #7E154C

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

Preview Lab → · Contrast checker → · Palette generator →

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