#7E125E#7E125E

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

Color values

HEX#7E125E
RGBrgb(126, 18, 94)
HSLhsl(318, 75%, 28%)
HSVhsv(318, 86%, 49%)
CMYKcmyk(0%, 85.7%, 25.4%, 50.6%)
CIE-LABlab(28.58, 50.31, -16.60)
CIE-LCHlch(28.58, 52.98, 341.74°)
OKLaboklab(40.55% 0.1524 -0.0444)
OKLCHoklch(40.55% 0.159 343.8)
XYZxyz(10.8413, 5.6776, 11.1125)
Luminance0.0568 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E125E #127E32
analogous
#68127E #7E125E #7E1228
triadic
#7E125E #5E7E12 #125E7E
tetradic
#7E125E #7E6812 #127E32 #12287E
square
#7E125E #7E6812 #127E32 #12287E
split-complementary
#7E125E #287E12 #127E68
monochromatic
#1B0414 #480A36 #7E125E #B41A86 #E12AAA

Accessibility & contrast

On white

9.84
#7E125E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#7E125E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E125E
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E125E#FFFFFF#000000##FFFFFF
##7E125E1.009.842.149.84
#FFFFFF9.841.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#213860
Deuteranopia (green-blind)
#434A5C
Tritanopia (blue-blind)
#871138
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7e125e;
/* rgb */ color: rgb(126, 18, 94);
/* oklch */ color: oklch(40.5% 0.159 343.8);
Tailwind
colors: {
  custom: {
    50: '#a7608b',
    500: '#7e125e',
    950: '#000000',
  },
}
SCSS
$custom: #7e125e;
$custom-light: #a7608b;
$custom-dark: #000000;
JSON
{
  "hex": "#7e125e",
  "rgb": {
    "r": 126,
    "g": 18,
    "b": 94
  },
  "hsl": {
    "h": 317.778,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.40549,
    "c": 0.15871,
    "h": 343.8
  },
  "luminance": 0.05676
}

Semantic roles & 50–950 ramp

primary
#7E125E
secondary
#38B45D
accent
#F26E36
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050C
muted
#7F7A7D

Preview Lab

Preview with #7E125E

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

Preview Lab → · Contrast checker → · Palette generator →

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