#7D1740#7D1740

#7D1740 is a dark, vivid pink. Relative luminance 0.053; OKLCH L 39.5% C 0.139 H 2.3°. Best body text is #FFFFFF at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#7D1740
RGBrgb(125, 23, 64)
HSLhsl(336, 69%, 29%)
HSVhsv(336, 82%, 49%)
CMYKcmyk(0%, 81.6%, 48.8%, 51%)
CIE-LABlab(27.69, 45.24, 1.99)
CIE-LCHlch(27.69, 45.29, 2.51°)
OKLaboklab(39.48% 0.1388 0.0056)
OKLCHoklch(39.48% 0.139 2.3)
XYZxyz(9.6901, 5.3443, 5.3708)
Luminance0.0534 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1740 #177D54
analogous
#7D1773 #7D1740 #7D2117
triadic
#7D1740 #407D17 #17407D
tetradic
#7D1740 #737D17 #177D54 #21177D
square
#7D1740 #737D17 #177D54 #21177D
split-complementary
#7D1740 #177D21 #17737D
monochromatic
#1A050D #490D26 #7D1740 #B1215A #DA3577

Accessibility & contrast

On white

10.15
#7D1740 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D1740
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1740#FFFFFF#000000##FFFFFF
##7D17401.0010.152.0710.15
#FFFFFF10.151.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#303541
Deuteranopia (green-blind)
#4B483E
Tritanopia (blue-blind)
#880029
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7d1740;
/* rgb */ color: rgb(125, 23, 64);
/* oklch */ color: oklch(39.5% 0.139 2.3);
Tailwind
colors: {
  custom: {
    50: '#a86074',
    500: '#7d1740',
    950: '#000000',
  },
}
SCSS
$custom: #7d1740;
$custom-light: #a86074;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1740",
  "rgb": {
    "r": 125,
    "g": 23,
    "b": 64
  },
  "hsl": {
    "h": 335.882,
    "s": 68.919,
    "l": 29.02
  },
  "oklch": {
    "l": 0.39483,
    "c": 0.13894,
    "h": 2.3
  },
  "luminance": 0.05343
}

Semantic roles & 50–950 ramp

primary
#7D1740
secondary
#3EB283
accent
#ECA53C
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100508
muted
#7F7A7B

Preview Lab

Preview with #7D1740

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

Preview Lab → · Contrast checker → · Palette generator →

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