#7E154B#7E154B

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

Color values

HEX#7E154B
RGBrgb(126, 21, 75)
HSLhsl(329, 71%, 29%)
HSVhsv(329, 83%, 49%)
CMYKcmyk(0%, 83.3%, 40.5%, 50.6%)
CIE-LABlab(28.06, 47.23, -4.83)
CIE-LCHlch(28.06, 47.48, 354.17°)
OKLaboklab(39.91% 0.1453 -0.0121)
OKLCHoklch(39.91% 0.146 355.2)
XYZxyz(10.1431, 5.4813, 7.1791)
Luminance0.0548 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E154B #157E48
analogous
#7D157E #7E154B #7E1516
triadic
#7E154B #4B7E15 #154B7E
tetradic
#7E154B #7E7D15 #157E48 #15167E
square
#7E154B #7E7D15 #157E48 #15167E
split-complementary
#7E154B #167E15 #157E7D
monochromatic
#1A0410 #4A0C2C #7E154B #B21E6A #DD3189

Accessibility & contrast

On white

10.02
#7E154B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E154B
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E154B#FFFFFF#000000##FFFFFF
##7E154B1.0010.022.1010.02
#FFFFFF10.021.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C364C
Deuteranopia (green-blind)
#494949
Tritanopia (blue-blind)
#89032E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7e154b;
/* rgb */ color: rgb(126, 21, 75);
/* oklch */ color: oklch(39.9% 0.146 355.2);
Tailwind
colors: {
  custom: {
    50: '#a8607d',
    500: '#7e154b',
    950: '#000000',
  },
}
SCSS
$custom: #7e154b;
$custom-light: #a8607d;
$custom-dark: #000000;
JSON
{
  "hex": "#7e154b",
  "rgb": {
    "r": 126,
    "g": 21,
    "b": 75
  },
  "hsl": {
    "h": 329.143,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.39913,
    "c": 0.14584,
    "h": 355.2
  },
  "luminance": 0.0548
}

Semantic roles & 50–950 ramp

primary
#7E154B
secondary
#3CB376
accent
#EE913A
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#100509
muted
#7F7A7B

Preview Lab

Preview with #7E154B

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

Preview Lab → · Contrast checker → · Palette generator →

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