#7D1531#7D1531

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

Color values

HEX#7D1531
RGBrgb(125, 21, 49)
HSLhsl(344, 71%, 29%)
HSVhsv(344, 83%, 49%)
CMYKcmyk(0%, 83.2%, 60.8%, 51%)
CIE-LABlab(27.07, 44.59, 11.25)
CIE-LCHlch(27.07, 45.99, 14.17°)
OKLaboklab(38.89% 0.1348 0.028)
OKLCHoklch(38.89% 0.138 11.7)
XYZxyz(9.2809, 5.1194, 3.4046)
Luminance0.0512 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1531 #157D61
analogous
#7D1565 #7D1531 #7D2D15
triadic
#7D1531 #317D15 #15317D
tetradic
#7D1531 #657D15 #157D61 #2D157D
square
#7D1531 #657D15 #157D61 #2D157D
split-complementary
#7D1531 #157D2D #15657D
monochromatic
#1A040A #490C1C #7D1531 #B11E46 #DC305E

Accessibility & contrast

On white

10.38
#7D1531 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D1531
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1531#FFFFFF#000000##FFFFFF
##7D15311.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333231
Deuteranopia (green-blind)
#4D482E
Tritanopia (blue-blind)
#890021
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7d1531;
/* rgb */ color: rgb(125, 21, 49);
/* oklch */ color: oklch(38.9% 0.138 11.7);
Tailwind
colors: {
  custom: {
    50: '#a95f68',
    500: '#7d1531',
    950: '#000000',
  },
}
SCSS
$custom: #7d1531;
$custom-light: #a95f68;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1531",
  "rgb": {
    "r": 125,
    "g": 21,
    "b": 49
  },
  "hsl": {
    "h": 343.846,
    "s": 71.233,
    "l": 28.627
  },
  "oklch": {
    "l": 0.38893,
    "c": 0.13764,
    "h": 11.7
  },
  "luminance": 0.05118
}

Semantic roles & 50–950 ramp

primary
#7D1531
secondary
#3CB292
accent
#EEBD3A
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110506
muted
#80797A

Preview Lab

Preview with #7D1531

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

Preview Lab → · Contrast checker → · Palette generator →

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