#7D1837#7D1837

#7D1837 is a dark, vivid pink. Relative luminance 0.053; OKLCH L 39.3% C 0.136 H 8.5°. Best body text is #FFFFFF at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#7D1837
RGBrgb(125, 24, 55)
HSLhsl(342, 68%, 29%)
HSVhsv(342, 81%, 49%)
CMYKcmyk(0%, 80.8%, 56%, 51%)
CIE-LABlab(27.55, 44.13, 7.85)
CIE-LCHlch(27.55, 44.83, 10.09°)
OKLaboklab(39.29% 0.1343 0.02)
OKLCHoklch(39.29% 0.136 8.5)
XYZxyz(9.4746, 5.2904, 4.1359)
Luminance0.0529 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1837 #187D5E
analogous
#7D186A #7D1837 #7D2C18
triadic
#7D1837 #377D18 #18377D
tetradic
#7D1837 #6A7D18 #187D5E #2C187D
square
#7D1837 #6A7D18 #187D5E #2C187D
split-complementary
#7D1837 #187D2C #186A7D
monochromatic
#1A050B #4A0E20 #7D1837 #B0224E #D93768

Accessibility & contrast

On white

10.21
#7D1837 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#7D1837 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1837
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1837#FFFFFF#000000##FFFFFF
##7D18371.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d1837;
/* rgb */ color: rgb(125, 24, 55);
/* oklch */ color: oklch(39.3% 0.136 8.5);
Tailwind
colors: {
  custom: {
    50: '#a8606d',
    500: '#7d1837',
    950: '#000000',
  },
}
SCSS
$custom: #7d1837;
$custom-light: #a8606d;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1837",
  "rgb": {
    "r": 125,
    "g": 24,
    "b": 55
  },
  "hsl": {
    "h": 341.584,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.39291,
    "c": 0.13578,
    "h": 8.5
  },
  "luminance": 0.05289
}

Semantic roles & 50–950 ramp

primary
#7D1837
secondary
#3FB28E
accent
#EBB53D
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110507
muted
#807A7A

Preview Lab

Preview with #7D1837

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

Preview Lab → · Contrast checker → · Palette generator →

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