#7E124F#7E124F

#7E124F is a dark, vivid pink. Relative luminance 0.054; OKLCH L 39.9% C 0.150 H 352.4°. Best body text is #FFFFFF at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#7E124F
RGBrgb(126, 18, 79)
HSLhsl(326, 75%, 28%)
HSVhsv(326, 86%, 49%)
CMYKcmyk(0%, 85.7%, 37.3%, 50.6%)
CIE-LABlab(27.94, 48.47, -7.68)
CIE-LCHlch(27.94, 49.08, 350.99°)
OKLaboklab(39.87% 0.149 -0.0198)
OKLCHoklch(39.87% 0.15 352.4)
XYZxyz(10.2324, 5.4340, 7.9057)
Luminance0.0543 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E124F #127E41
analogous
#77127E #7E124F #7E1219
triadic
#7E124F #4F7E12 #124F7E
tetradic
#7E124F #7E7712 #127E41 #12197E
square
#7E124F #7E7712 #127E41 #12197E
split-complementary
#7E124F #197E12 #127E77
monochromatic
#1B0411 #480A2D #7E124F #B41A71 #E12A91

Accessibility & contrast

On white

10.06
#7E124F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#7E124F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E124F
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E124F#FFFFFF#000000##FFFFFF
##7E124F1.0010.062.0910.06
#FFFFFF10.061.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#293650
Deuteranopia (green-blind)
#48494D
Tritanopia (blue-blind)
#88032F
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7e124f;
/* rgb */ color: rgb(126, 18, 79);
/* oklch */ color: oklch(39.9% 0.150 352.4);
Tailwind
colors: {
  custom: {
    50: '#a85f80',
    500: '#7e124f',
    950: '#000000',
  },
}
SCSS
$custom: #7e124f;
$custom-light: #a85f80;
$custom-dark: #000000;
JSON
{
  "hex": "#7e124f",
  "rgb": {
    "r": 126,
    "g": 18,
    "b": 79
  },
  "hsl": {
    "h": 326.111,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.3987,
    "c": 0.15036,
    "h": 352.4
  },
  "luminance": 0.05433
}

Semantic roles & 50–950 ramp

primary
#7E124F
secondary
#38B46E
accent
#F28836
background
#FAF5F7
surface
#F4EAEE
border
#CEC6C9
text
#10050A
muted
#7F797C

Preview Lab

Preview with #7E124F

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

Preview Lab → · Contrast checker → · Palette generator →

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