#7E125F#7E125F

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

Color values

HEX#7E125F
RGBrgb(126, 18, 95)
HSLhsl(317, 75%, 28%)
HSVhsv(317, 86%, 49%)
CMYKcmyk(0%, 85.7%, 24.6%, 50.6%)
CIE-LABlab(28.63, 50.44, -17.18)
CIE-LCHlch(28.63, 53.29, 341.20°)
OKLaboklab(40.6% 0.1525 -0.046)
OKLCHoklch(40.6% 0.159 343.2)
XYZxyz(10.8865, 5.6957, 11.3503)
Luminance0.0569 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E125F #127E31
analogous
#67127E #7E125F #7E1229
triadic
#7E125F #5F7E12 #125F7E
tetradic
#7E125F #7E6712 #127E31 #12297E
square
#7E125F #7E6712 #127E31 #12297E
split-complementary
#7E125F #297E12 #127E67
monochromatic
#1B0414 #480A37 #7E125F #B41A87 #E12AAC

Accessibility & contrast

On white

9.82
#7E125F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E125F
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E125F#FFFFFF#000000##FFFFFF
##7E125F1.009.822.149.82
#FFFFFF9.821.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#203861
Deuteranopia (green-blind)
#434A5D
Tritanopia (blue-blind)
#871238
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7e125f;
/* rgb */ color: rgb(126, 18, 95);
/* oklch */ color: oklch(40.6% 0.159 343.2);
Tailwind
colors: {
  custom: {
    50: '#a7608c',
    500: '#7e125f',
    950: '#000000',
  },
}
SCSS
$custom: #7e125f;
$custom-light: #a7608c;
$custom-dark: #000000;
JSON
{
  "hex": "#7e125f",
  "rgb": {
    "r": 126,
    "g": 18,
    "b": 95
  },
  "hsl": {
    "h": 317.222,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.40599,
    "c": 0.15933,
    "h": 343.2
  },
  "luminance": 0.05694
}

Semantic roles & 50–950 ramp

primary
#7E125F
secondary
#38B45C
accent
#F26C36
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050C
muted
#7F7A7D

Preview Lab

Preview with #7E125F

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

Preview Lab → · Contrast checker → · Palette generator →

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