#7E154F#7E154F

#7E154F is a dark, vivid pink. Relative luminance 0.055; OKLCH L 40.1% C 0.148 H 352.7°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#7E154F
RGBrgb(126, 21, 79)
HSLhsl(327, 71%, 29%)
HSVhsv(327, 83%, 49%)
CMYKcmyk(0%, 83.3%, 37.3%, 50.6%)
CIE-LABlab(28.22, 47.68, -7.26)
CIE-LCHlch(28.22, 48.23, 351.34°)
OKLaboklab(40.07% 0.1465 -0.0187)
OKLCHoklch(40.07% 0.148 352.7)
XYZxyz(10.2843, 5.5378, 7.9229)
Luminance0.0554 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E154F #157E44
analogous
#79157E #7E154F #7E151B
triadic
#7E154F #4F7E15 #154F7E
tetradic
#7E154F #7E7915 #157E44 #151B7E
square
#7E154F #7E7915 #157E44 #151B7E
split-complementary
#7E154F #1B7E15 #157E79
monochromatic
#1A0410 #4A0C2E #7E154F #B21E70 #DD3190

Accessibility & contrast

On white

9.97
#7E154F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#7E154F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E154F
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E154F#FFFFFF#000000##FFFFFF
##7E154F1.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A3650
Deuteranopia (green-blind)
#48494D
Tritanopia (blue-blind)
#880730
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7e154f;
/* rgb */ color: rgb(126, 21, 79);
/* oklch */ color: oklch(40.1% 0.148 352.7);
Tailwind
colors: {
  custom: {
    50: '#a86080',
    500: '#7e154f',
    950: '#000000',
  },
}
SCSS
$custom: #7e154f;
$custom-light: #a86080;
$custom-dark: #000000;
JSON
{
  "hex": "#7e154f",
  "rgb": {
    "r": 126,
    "g": 21,
    "b": 79
  },
  "hsl": {
    "h": 326.857,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.40072,
    "c": 0.1477,
    "h": 352.7
  },
  "luminance": 0.05536
}

Semantic roles & 50–950 ramp

primary
#7E154F
secondary
#3CB371
accent
#EE8A3A
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10050A
muted
#7F7A7C

Preview Lab

Preview with #7E154F

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

Preview Lab → · Contrast checker → · Palette generator →

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