#7D1939#7D1939

#7D1939 is a dark, vivid pink. Relative luminance 0.054; OKLCH L 39.4% C 0.135 H 7.4°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#7D1939
RGBrgb(125, 25, 57)
HSLhsl(341, 67%, 29%)
HSVhsv(341, 80%, 49%)
CMYKcmyk(0%, 80%, 54.4%, 51%)
CIE-LABlab(27.71, 43.98, 6.74)
CIE-LCHlch(27.71, 44.49, 8.71°)
OKLaboklab(39.43% 0.1341 0.0174)
OKLCHoklch(39.43% 0.135 7.4)
XYZxyz(9.5445, 5.3520, 4.4006)
Luminance0.0535 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1939 #197D5D
analogous
#7D196B #7D1939 #7D2B19
triadic
#7D1939 #397D19 #19397D
tetradic
#7D1939 #6B7D19 #197D5D #2B197D
square
#7D1939 #6B7D19 #197D5D #2B197D
split-complementary
#7D1939 #197D2B #196B7D
monochromatic
#1A050C #4A0F22 #7D1939 #B02350 #D7396C

Accessibility & contrast

On white

10.14
#7D1939 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#7D1939 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1939
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1939#FFFFFF#000000##FFFFFF
##7D19391.0010.142.0710.14
#FFFFFF10.141.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33353A
Deuteranopia (green-blind)
#4D4937
Tritanopia (blue-blind)
#890027
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7d1939;
/* rgb */ color: rgb(125, 25, 57);
/* oklch */ color: oklch(39.4% 0.135 7.4);
Tailwind
colors: {
  custom: {
    50: '#a8606f',
    500: '#7d1939',
    950: '#000000',
  },
}
SCSS
$custom: #7d1939;
$custom-light: #a8606f;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1939",
  "rgb": {
    "r": 125,
    "g": 25,
    "b": 57
  },
  "hsl": {
    "h": 340.8,
    "s": 66.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.39432,
    "c": 0.13517,
    "h": 7.4
  },
  "luminance": 0.05351
}

Semantic roles & 50–950 ramp

primary
#7D1939
secondary
#40B18D
accent
#EAB33E
background
#FAF6F6
surface
#F5EBEC
border
#CFC6C7
text
#110507
muted
#807A7A

Preview Lab

Preview with #7D1939

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

Preview Lab → · Contrast checker → · Palette generator →

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