#7E125D#7E125D

#7E125D is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.5% C 0.158 H 344.3°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#7E125D
RGBrgb(126, 18, 93)
HSLhsl(318, 75%, 28%)
HSVhsv(318, 86%, 49%)
CMYKcmyk(0%, 85.7%, 26.2%, 50.6%)
CIE-LABlab(28.54, 50.18, -16.01)
CIE-LCHlch(28.54, 52.67, 342.30°)
OKLaboklab(40.5% 0.1522 -0.0428)
OKLCHoklch(40.5% 0.158 344.3)
XYZxyz(10.7968, 5.6598, 10.8777)
Luminance0.0566 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E125D #127E33
analogous
#69127E #7E125D #7E1227
triadic
#7E125D #5D7E12 #125D7E
tetradic
#7E125D #7E6912 #127E33 #12277E
square
#7E125D #7E6912 #127E33 #12277E
split-complementary
#7E125D #277E12 #127E69
monochromatic
#1B0414 #480A35 #7E125D #B41A85 #E12AA9

Accessibility & contrast

On white

9.85
#7E125D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E125D
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E125D#FFFFFF#000000##FFFFFF
##7E125D1.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22385F
Deuteranopia (green-blind)
#434A5B
Tritanopia (blue-blind)
#871137
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7e125d;
/* rgb */ color: rgb(126, 18, 93);
/* oklch */ color: oklch(40.5% 0.158 344.3);
Tailwind
colors: {
  custom: {
    50: '#a7608b',
    500: '#7e125d',
    950: '#000000',
  },
}
SCSS
$custom: #7e125d;
$custom-light: #a7608b;
$custom-dark: #000000;
JSON
{
  "hex": "#7e125d",
  "rgb": {
    "r": 126,
    "g": 18,
    "b": 93
  },
  "hsl": {
    "h": 318.333,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.40501,
    "c": 0.1581,
    "h": 344.3
  },
  "luminance": 0.05659
}

Semantic roles & 50–950 ramp

primary
#7E125D
secondary
#38B45E
accent
#F26F36
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050C
muted
#7F7A7D

Preview Lab

Preview with #7E125D

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

Preview Lab → · Contrast checker → · Palette generator →

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