#7D1942#7D1942

#7D1942 is a dark, vivid pink. Relative luminance 0.054; OKLCH L 39.7% C 0.138 H 1.3°. Best body text is #FFFFFF at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#7D1942
RGBrgb(125, 25, 66)
HSLhsl(335, 67%, 29%)
HSVhsv(335, 80%, 49%)
CMYKcmyk(0%, 80%, 47.2%, 51%)
CIE-LABlab(27.98, 44.80, 1.06)
CIE-LCHlch(27.98, 44.82, 1.35°)
OKLaboklab(39.71% 0.1375 0.0032)
OKLCHoklch(39.71% 0.138 1.3)
XYZxyz(9.7892, 5.4499, 5.6896)
Luminance0.0545 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1942 #197D54
analogous
#7D1974 #7D1942 #7D2219
triadic
#7D1942 #427D19 #19427D
tetradic
#7D1942 #747D19 #197D54 #22197D
square
#7D1942 #747D19 #197D54 #22197D
split-complementary
#7D1942 #197D22 #19747D
monochromatic
#1A050D #4A0F27 #7D1942 #B0235D #D7397A

Accessibility & contrast

On white

10.05
#7D1942 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D1942
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1942#FFFFFF#000000##FFFFFF
##7D19421.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#313643
Deuteranopia (green-blind)
#4B4940
Tritanopia (blue-blind)
#88032B
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7d1942;
/* rgb */ color: rgb(125, 25, 66);
/* oklch */ color: oklch(39.7% 0.138 1.3);
Tailwind
colors: {
  custom: {
    50: '#a86176',
    500: '#7d1942',
    950: '#000000',
  },
}
SCSS
$custom: #7d1942;
$custom-light: #a86176;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1942",
  "rgb": {
    "r": 125,
    "g": 25,
    "b": 66
  },
  "hsl": {
    "h": 335.4,
    "s": 66.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.39714,
    "c": 0.13757,
    "h": 1.3
  },
  "luminance": 0.05449
}

Semantic roles & 50–950 ramp

primary
#7D1942
secondary
#40B183
accent
#EAA33E
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100508
muted
#7F7A7B

Preview Lab

Preview with #7D1942

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

Preview Lab → · Contrast checker → · Palette generator →

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