#7D1331#7D1331

#7D1331 is a dark, vivid pink. Relative luminance 0.050; OKLCH L 38.7% C 0.139 H 11.3°. Best body text is #FFFFFF at 10.45:1 contrast (WCAG AA passes).

Color values

HEX#7D1331
RGBrgb(125, 19, 49)
HSLhsl(343, 74%, 28%)
HSVhsv(343, 85%, 49%)
CMYKcmyk(0%, 84.8%, 60.8%, 51%)
CIE-LABlab(26.87, 45.15, 10.98)
CIE-LCHlch(26.87, 46.47, 13.67°)
OKLaboklab(38.75% 0.1366 0.0273)
OKLCHoklch(38.75% 0.139 11.3)
XYZxyz(9.2456, 5.0489, 3.3928)
Luminance0.0505 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1331 #137D5F
analogous
#7D1366 #7D1331 #7D2A13
triadic
#7D1331 #317D13 #13317D
tetradic
#7D1331 #667D13 #137D5F #2A137D
square
#7D1331 #667D13 #137D5F #2A137D
split-complementary
#7D1331 #137D2A #13667D
monochromatic
#1B040A #480B1C #7D1331 #B21B46 #DF2C5E

Accessibility & contrast

On white

10.45
#7D1331 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#7D1331 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1331
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1331#FFFFFF#000000##FFFFFF
##7D13311.0010.452.0110.45
#FFFFFF10.451.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323231
Deuteranopia (green-blind)
#4D472E
Tritanopia (blue-blind)
#890020
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #7d1331;
/* rgb */ color: rgb(125, 19, 49);
/* oklch */ color: oklch(38.7% 0.139 11.3);
Tailwind
colors: {
  custom: {
    50: '#a95e68',
    500: '#7d1331',
    950: '#000000',
  },
}
SCSS
$custom: #7d1331;
$custom-light: #a95e68;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1331",
  "rgb": {
    "r": 125,
    "g": 19,
    "b": 49
  },
  "hsl": {
    "h": 343.019,
    "s": 73.611,
    "l": 28.235
  },
  "oklch": {
    "l": 0.38746,
    "c": 0.13929,
    "h": 11.3
  },
  "luminance": 0.05047
}

Semantic roles & 50–950 ramp

primary
#7D1331
secondary
#39B390
accent
#F0BC38
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110506
muted
#80797A

Preview Lab

Preview with #7D1331

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

Preview Lab → · Contrast checker → · Palette generator →

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