#7E125B#7E125B

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

Color values

HEX#7E125B
RGBrgb(126, 18, 91)
HSLhsl(319, 75%, 28%)
HSVhsv(319, 86%, 49%)
CMYKcmyk(0%, 85.7%, 27.8%, 50.6%)
CIE-LABlab(28.45, 49.92, -14.84)
CIE-LCHlch(28.45, 52.08, 343.44°)
OKLaboklab(40.4% 0.1518 -0.0395)
OKLCHoklch(40.4% 0.157 345.4)
XYZxyz(10.7093, 5.6248, 10.4172)
Luminance0.0562 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E125B #127E35
analogous
#6B127E #7E125B #7E1225
triadic
#7E125B #5B7E12 #125B7E
tetradic
#7E125B #7E6B12 #127E35 #12257E
square
#7E125B #7E6B12 #127E35 #12257E
split-complementary
#7E125B #257E12 #127E6B
monochromatic
#1B0413 #480A34 #7E125B #B41A82 #E12AA5

Accessibility & contrast

On white

9.88
#7E125B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E125B
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E125B#FFFFFF#000000##FFFFFF
##7E125B1.009.882.129.88
#FFFFFF9.881.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23385D
Deuteranopia (green-blind)
#444959
Tritanopia (blue-blind)
#870F36
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7e125b;
/* rgb */ color: rgb(126, 18, 91);
/* oklch */ color: oklch(40.4% 0.157 345.4);
Tailwind
colors: {
  custom: {
    50: '#a75f89',
    500: '#7e125b',
    950: '#000000',
  },
}
SCSS
$custom: #7e125b;
$custom-light: #a75f89;
$custom-dark: #000000;
JSON
{
  "hex": "#7e125b",
  "rgb": {
    "r": 126,
    "g": 18,
    "b": 91
  },
  "hsl": {
    "h": 319.444,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.40404,
    "c": 0.15689,
    "h": 345.4
  },
  "luminance": 0.05624
}

Semantic roles & 50–950 ramp

primary
#7E125B
secondary
#38B460
accent
#F27336
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050B
muted
#7F7A7C

Preview Lab

Preview with #7E125B

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

Preview Lab → · Contrast checker → · Palette generator →

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