#7D1742#7D1742

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

Color values

HEX#7D1742
RGBrgb(125, 23, 66)
HSLhsl(335, 69%, 29%)
HSVhsv(335, 82%, 49%)
CMYKcmyk(0%, 81.6%, 47.2%, 51%)
CIE-LABlab(27.76, 45.44, 0.73)
CIE-LCHlch(27.76, 45.44, 0.92°)
OKLaboklab(39.55% 0.1396 0.0024)
OKLCHoklch(39.55% 0.14 1)
XYZxyz(9.7480, 5.3674, 5.6759)
Luminance0.0537 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1742 #177D52
analogous
#7D1775 #7D1742 #7D1F17
triadic
#7D1742 #427D17 #17427D
tetradic
#7D1742 #757D17 #177D52 #1F177D
square
#7D1742 #757D17 #177D52 #1F177D
split-complementary
#7D1742 #177D1F #17757D
monochromatic
#1A050E #490D27 #7D1742 #B1215D #DA357A

Accessibility & contrast

On white

10.13
#7D1742 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D1742
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1742#FFFFFF#000000##FFFFFF
##7D17421.0010.132.0710.13
#FFFFFF10.131.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#303543
Deuteranopia (green-blind)
#4B4940
Tritanopia (blue-blind)
#88002A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7d1742;
/* rgb */ color: rgb(125, 23, 66);
/* oklch */ color: oklch(39.6% 0.140 1.0);
Tailwind
colors: {
  custom: {
    50: '#a86076',
    500: '#7d1742',
    950: '#000000',
  },
}
SCSS
$custom: #7d1742;
$custom-light: #a86076;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1742",
  "rgb": {
    "r": 125,
    "g": 23,
    "b": 66
  },
  "hsl": {
    "h": 334.706,
    "s": 68.919,
    "l": 29.02
  },
  "oklch": {
    "l": 0.3955,
    "c": 0.13958,
    "h": 1
  },
  "luminance": 0.05366
}

Semantic roles & 50–950 ramp

primary
#7D1742
secondary
#3EB281
accent
#ECA23C
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100508
muted
#7F7A7B

Preview Lab

Preview with #7D1742

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

Preview Lab → · Contrast checker → · Palette generator →

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