#7D1738#7D1738

#7D1738 is a dark, vivid pink. Relative luminance 0.053; OKLCH L 39.2% C 0.137 H 7.6°. Best body text is #FFFFFF at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#7D1738
RGBrgb(125, 23, 56)
HSLhsl(341, 69%, 29%)
HSVhsv(341, 82%, 49%)
CMYKcmyk(0%, 81.6%, 55.2%, 51%)
CIE-LABlab(27.46, 44.53, 7.06)
CIE-LCHlch(27.46, 45.09, 9.00°)
OKLaboklab(39.24% 0.1357 0.0181)
OKLCHoklch(39.24% 0.137 7.6)
XYZxyz(9.4785, 5.2596, 4.2567)
Luminance0.0526 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1738 #177D5C
analogous
#7D176B #7D1738 #7D2917
triadic
#7D1738 #387D17 #17387D
tetradic
#7D1738 #6B7D17 #177D5C #29177D
square
#7D1738 #6B7D17 #177D5C #29177D
split-complementary
#7D1738 #177D29 #176B7D
monochromatic
#1A050C #490D21 #7D1738 #B1214F #DA356A

Accessibility & contrast

On white

10.24
#7D1738 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#7D1738 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1738
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1738#FFFFFF#000000##FFFFFF
##7D17381.0010.242.0510.24
#FFFFFF10.241.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323439
Deuteranopia (green-blind)
#4D4836
Tritanopia (blue-blind)
#890025
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7d1738;
/* rgb */ color: rgb(125, 23, 56);
/* oklch */ color: oklch(39.2% 0.137 7.6);
Tailwind
colors: {
  custom: {
    50: '#a8606e',
    500: '#7d1738',
    950: '#000000',
  },
}
SCSS
$custom: #7d1738;
$custom-light: #a8606e;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1738",
  "rgb": {
    "r": 125,
    "g": 23,
    "b": 56
  },
  "hsl": {
    "h": 340.588,
    "s": 68.919,
    "l": 29.02
  },
  "oklch": {
    "l": 0.39237,
    "c": 0.13691,
    "h": 7.6
  },
  "luminance": 0.05258
}

Semantic roles & 50–950 ramp

primary
#7D1738
secondary
#3EB28C
accent
#ECB33C
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110507
muted
#80797A

Preview Lab

Preview with #7D1738

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

Preview Lab → · Contrast checker → · Palette generator →

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