#7D1731#7D1731

#7D1731 is a dark, vivid pink. Relative luminance 0.052; OKLCH L 39.1% C 0.136 H 12.2°. Best body text is #FFFFFF at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#7D1731
RGBrgb(125, 23, 49)
HSLhsl(345, 69%, 29%)
HSVhsv(345, 82%, 49%)
CMYKcmyk(0%, 81.6%, 60.8%, 51%)
CIE-LABlab(27.29, 43.98, 11.54)
CIE-LCHlch(27.29, 45.47, 14.71°)
OKLaboklab(39.05% 0.1328 0.0286)
OKLCHoklch(39.05% 0.136 12.2)
XYZxyz(9.3192, 5.1959, 3.4173)
Luminance0.0520 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1731 #177D63
analogous
#7D1764 #7D1731 #7D3017
triadic
#7D1731 #317D17 #17317D
tetradic
#7D1731 #647D17 #177D63 #30177D
square
#7D1731 #647D17 #177D63 #30177D
split-complementary
#7D1731 #177D30 #17647D
monochromatic
#1A050A #490D1D #7D1731 #B12145 #DA355F

Accessibility & contrast

On white

10.30
#7D1731 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#7D1731 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1731
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1731#FFFFFF#000000##FFFFFF
##7D17311.0010.302.0410.30
#FFFFFF10.301.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343331
Deuteranopia (green-blind)
#4E482E
Tritanopia (blue-blind)
#890022
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7d1731;
/* rgb */ color: rgb(125, 23, 49);
/* oklch */ color: oklch(39.1% 0.136 12.2);
Tailwind
colors: {
  custom: {
    50: '#a95f68',
    500: '#7d1731',
    950: '#000000',
  },
}
SCSS
$custom: #7d1731;
$custom-light: #a95f68;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1731",
  "rgb": {
    "r": 125,
    "g": 23,
    "b": 49
  },
  "hsl": {
    "h": 344.706,
    "s": 68.919,
    "l": 29.02
  },
  "oklch": {
    "l": 0.3905,
    "c": 0.13587,
    "h": 12.2
  },
  "luminance": 0.05195
}

Semantic roles & 50–950 ramp

primary
#7D1731
secondary
#3EB294
accent
#ECBF3C
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110506
muted
#80797A

Preview Lab

Preview with #7D1731

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

Preview Lab → · Contrast checker → · Palette generator →

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