#7E125C#7E125C

#7E125C is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.5% C 0.157 H 344.9°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#7E125C
RGBrgb(126, 18, 92)
HSLhsl(319, 75%, 28%)
HSVhsv(319, 86%, 49%)
CMYKcmyk(0%, 85.7%, 27%, 50.6%)
CIE-LABlab(28.49, 50.05, -15.43)
CIE-LCHlch(28.49, 52.37, 342.87°)
OKLaboklab(40.45% 0.152 -0.0411)
OKLCHoklch(40.45% 0.157 344.9)
XYZxyz(10.7528, 5.6422, 10.6459)
Luminance0.0564 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E125C #127E34
analogous
#6A127E #7E125C #7E1226
triadic
#7E125C #5C7E12 #125C7E
tetradic
#7E125C #7E6A12 #127E34 #12267E
square
#7E125C #7E6A12 #127E34 #12267E
split-complementary
#7E125C #267E12 #127E6A
monochromatic
#1B0414 #480A35 #7E125C #B41A83 #E12AA7

Accessibility & contrast

On white

9.87
#7E125C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#7E125C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E125C
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E125C#FFFFFF#000000##FFFFFF
##7E125C1.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22385E
Deuteranopia (green-blind)
#444A5A
Tritanopia (blue-blind)
#871037
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7e125c;
/* rgb */ color: rgb(126, 18, 92);
/* oklch */ color: oklch(40.5% 0.157 344.9);
Tailwind
colors: {
  custom: {
    50: '#a7608a',
    500: '#7e125c',
    950: '#000000',
  },
}
SCSS
$custom: #7e125c;
$custom-light: #a7608a;
$custom-dark: #000000;
JSON
{
  "hex": "#7e125c",
  "rgb": {
    "r": 126,
    "g": 18,
    "b": 92
  },
  "hsl": {
    "h": 318.889,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.40452,
    "c": 0.15749,
    "h": 344.9
  },
  "luminance": 0.05641
}

Semantic roles & 50–950 ramp

primary
#7E125C
secondary
#38B45F
accent
#F27136
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050B
muted
#7F7A7C

Preview Lab

Preview with #7E125C

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

Preview Lab → · Contrast checker → · Palette generator →

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