#7D1336#7D1336

#7D1336 is a dark, vivid pink. Relative luminance 0.051; OKLCH L 38.9% C 0.140 H 8.1°. Best body text is #FFFFFF at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#7D1336
RGBrgb(125, 19, 54)
HSLhsl(340, 74%, 28%)
HSVhsv(340, 85%, 49%)
CMYKcmyk(0%, 84.8%, 56.8%, 51%)
CIE-LABlab(27.00, 45.53, 7.76)
CIE-LCHlch(27.00, 46.19, 9.68°)
OKLaboklab(38.88% 0.1387 0.0198)
OKLCHoklch(38.88% 0.14 8.1)
XYZxyz(9.3571, 5.0934, 3.9797)
Luminance0.0509 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1336 #137D5A
analogous
#7D136B #7D1336 #7D2513
triadic
#7D1336 #367D13 #13367D
tetradic
#7D1336 #6B7D13 #137D5A #25137D
square
#7D1336 #6B7D13 #137D5A #25137D
split-complementary
#7D1336 #137D25 #136B7D
monochromatic
#1B040B #480B1F #7D1336 #B21B4D #DF2C67

Accessibility & contrast

On white

10.40
#7D1336 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#7D1336 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1336
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1336#FFFFFF#000000##FFFFFF
##7D13361.0010.402.0210.40
#FFFFFF10.401.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#313237
Deuteranopia (green-blind)
#4C4733
Tritanopia (blue-blind)
#890023
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7d1336;
/* rgb */ color: rgb(125, 19, 54);
/* oklch */ color: oklch(38.9% 0.140 8.1);
Tailwind
colors: {
  custom: {
    50: '#a95e6c',
    500: '#7d1336',
    950: '#000000',
  },
}
SCSS
$custom: #7d1336;
$custom-light: #a95e6c;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1336",
  "rgb": {
    "r": 125,
    "g": 19,
    "b": 54
  },
  "hsl": {
    "h": 340.189,
    "s": 73.611,
    "l": 28.235
  },
  "oklch": {
    "l": 0.3888,
    "c": 0.14006,
    "h": 8.1
  },
  "luminance": 0.05092
}

Semantic roles & 50–950 ramp

primary
#7D1336
secondary
#39B38B
accent
#F0B338
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110507
muted
#80797A

Preview Lab

Preview with #7D1336

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

Preview Lab → · Contrast checker → · Palette generator →

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