#7E124B#7E124B

#7E124B is a dark, vivid pink. Relative luminance 0.054; OKLCH L 39.7% C 0.148 H 354.9°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#7E124B
RGBrgb(126, 18, 75)
HSLhsl(328, 75%, 28%)
HSVhsv(328, 86%, 49%)
CMYKcmyk(0%, 85.7%, 40.5%, 50.6%)
CIE-LABlab(27.78, 48.03, -5.24)
CIE-LCHlch(27.78, 48.32, 353.77°)
OKLaboklab(39.71% 0.1479 -0.0132)
OKLCHoklch(39.71% 0.148 354.9)
XYZxyz(10.0912, 5.3775, 7.1618)
Luminance0.0538 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E124B #127E45
analogous
#7B127E #7E124B #7E1215
triadic
#7E124B #4B7E12 #124B7E
tetradic
#7E124B #7E7B12 #127E45 #12157E
square
#7E124B #7E7B12 #127E45 #12157E
split-complementary
#7E124B #157E12 #127E7B
monochromatic
#1B0410 #480A2B #7E124B #B41A6B #E12A8A

Accessibility & contrast

On white

10.12
#7E124B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#7E124B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E124B
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E124B#FFFFFF#000000##FFFFFF
##7E124B1.0010.122.0810.12
#FFFFFF10.121.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B354C
Deuteranopia (green-blind)
#494949
Tritanopia (blue-blind)
#89002D
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7e124b;
/* rgb */ color: rgb(126, 18, 75);
/* oklch */ color: oklch(39.7% 0.148 354.9);
Tailwind
colors: {
  custom: {
    50: '#a85f7d',
    500: '#7e124b',
    950: '#000000',
  },
}
SCSS
$custom: #7e124b;
$custom-light: #a85f7d;
$custom-dark: #000000;
JSON
{
  "hex": "#7e124b",
  "rgb": {
    "r": 126,
    "g": 18,
    "b": 75
  },
  "hsl": {
    "h": 328.333,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.39709,
    "c": 0.14848,
    "h": 354.9
  },
  "luminance": 0.05376
}

Semantic roles & 50–950 ramp

primary
#7E124B
secondary
#38B472
accent
#F28F36
background
#FAF5F7
surface
#F4EAEE
border
#CEC6C9
text
#100509
muted
#7F797B

Preview Lab

Preview with #7E124B

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

Preview Lab → · Contrast checker → · Palette generator →

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