#7E125A#7E125A

#7E125A is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.4% C 0.156 H 346.0°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#7E125A
RGBrgb(126, 18, 90)
HSLhsl(320, 75%, 28%)
HSVhsv(320, 86%, 49%)
CMYKcmyk(0%, 85.7%, 28.6%, 50.6%)
CIE-LABlab(28.40, 49.79, -14.26)
CIE-LCHlch(28.40, 51.79, 344.02°)
OKLaboklab(40.36% 0.1516 -0.0378)
OKLCHoklch(40.36% 0.156 346)
XYZxyz(10.6665, 5.6077, 10.1915)
Luminance0.0561 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E125A #127E36
analogous
#6C127E #7E125A #7E1224
triadic
#7E125A #5A7E12 #125A7E
tetradic
#7E125A #7E6C12 #127E36 #12247E
square
#7E125A #7E6C12 #127E36 #12247E
split-complementary
#7E125A #247E12 #127E6C
monochromatic
#1B0413 #480A34 #7E125A #B41A80 #E12AA4

Accessibility & contrast

On white

9.90
#7E125A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#7E125A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E125A
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E125A#FFFFFF#000000##FFFFFF
##7E125A1.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23375C
Deuteranopia (green-blind)
#444958
Tritanopia (blue-blind)
#870E35
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7e125a;
/* rgb */ color: rgb(126, 18, 90);
/* oklch */ color: oklch(40.4% 0.156 346.0);
Tailwind
colors: {
  custom: {
    50: '#a75f88',
    500: '#7e125a',
    950: '#000000',
  },
}
SCSS
$custom: #7e125a;
$custom-light: #a75f88;
$custom-dark: #000000;
JSON
{
  "hex": "#7e125a",
  "rgb": {
    "r": 126,
    "g": 18,
    "b": 90
  },
  "hsl": {
    "h": 320,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.40357,
    "c": 0.15629,
    "h": 346
  },
  "luminance": 0.05606
}

Semantic roles & 50–950 ramp

primary
#7E125A
secondary
#38B461
accent
#F27536
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050B
muted
#7F7A7C

Preview Lab

Preview with #7E125A

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

Preview Lab → · Contrast checker → · Palette generator →

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