#7D1940#7D1940

#7D1940 is a dark, vivid pink. Relative luminance 0.054; OKLCH L 39.6% C 0.137 H 2.7°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#7D1940
RGBrgb(125, 25, 64)
HSLhsl(337, 67%, 29%)
HSVhsv(337, 80%, 49%)
CMYKcmyk(0%, 80%, 48.8%, 51%)
CIE-LABlab(27.92, 44.61, 2.31)
CIE-LCHlch(27.92, 44.67, 2.96°)
OKLaboklab(39.65% 0.1368 0.0064)
OKLCHoklch(39.65% 0.137 2.7)
XYZxyz(9.7313, 5.4267, 5.3845)
Luminance0.0542 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1940 #197D56
analogous
#7D1972 #7D1940 #7D2419
triadic
#7D1940 #407D19 #19407D
tetradic
#7D1940 #727D19 #197D56 #24197D
square
#7D1940 #727D19 #197D56 #24197D
split-complementary
#7D1940 #197D24 #19727D
monochromatic
#1A050D #4A0F26 #7D1940 #B0235A #D73977

Accessibility & contrast

On white

10.07
#7D1940 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D1940
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1940#FFFFFF#000000##FFFFFF
##7D19401.0010.072.0910.07
#FFFFFF10.071.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#313541
Deuteranopia (green-blind)
#4C493E
Tritanopia (blue-blind)
#88022A
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7d1940;
/* rgb */ color: rgb(125, 25, 64);
/* oklch */ color: oklch(39.6% 0.137 2.7);
Tailwind
colors: {
  custom: {
    50: '#a86174',
    500: '#7d1940',
    950: '#000000',
  },
}
SCSS
$custom: #7d1940;
$custom-light: #a86174;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1940",
  "rgb": {
    "r": 125,
    "g": 25,
    "b": 64
  },
  "hsl": {
    "h": 336.6,
    "s": 66.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.39648,
    "c": 0.13694,
    "h": 2.7
  },
  "luminance": 0.05425
}

Semantic roles & 50–950 ramp

primary
#7D1940
secondary
#40B185
accent
#EAA73E
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100508
muted
#7F7A7B

Preview Lab

Preview with #7D1940

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

Preview Lab → · Contrast checker → · Palette generator →

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