#7D1F37#7D1F37

#7D1F37 is a dark, vivid pink. Relative luminance 0.056; OKLCH L 39.9% C 0.128 H 10.3°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#7D1F37
RGBrgb(125, 31, 55)
HSLhsl(345, 60%, 31%)
HSVhsv(345, 75%, 49%)
CMYKcmyk(0%, 75.2%, 56%, 51%)
CIE-LABlab(28.43, 41.67, 9.07)
CIE-LCHlch(28.43, 42.65, 12.28°)
OKLaboklab(39.94% 0.1264 0.023)
OKLCHoklch(39.94% 0.128 10.3)
XYZxyz(9.6379, 5.6171, 4.1904)
Luminance0.0562 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1F37 #1F7D65
analogous
#7D1F66 #7D1F37 #7D361F
triadic
#7D1F37 #377D1F #1F377D
tetradic
#7D1F37 #667D1F #1F7D65 #361F7D
square
#7D1F37 #667D1F #1F7D65 #361F7D
split-complementary
#7D1F37 #1F7D36 #1F667D
monochromatic
#1B070C #4C1321 #7D1F37 #AE2B4D #D14569

Accessibility & contrast

On white

9.89
#7D1F37 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#7D1F37 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1F37
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1F37#FFFFFF#000000##FFFFFF
##7D1F371.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373737
Deuteranopia (green-blind)
#4F4A35
Tritanopia (blue-blind)
#890829
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7d1f37;
/* rgb */ color: rgb(125, 31, 55);
/* oklch */ color: oklch(39.9% 0.128 10.3);
Tailwind
colors: {
  custom: {
    50: '#a8636d',
    500: '#7d1f37',
    950: '#000000',
  },
}
SCSS
$custom: #7d1f37;
$custom-light: #a8636d;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1f37",
  "rgb": {
    "r": 125,
    "g": 31,
    "b": 55
  },
  "hsl": {
    "h": 344.681,
    "s": 60.256,
    "l": 30.588
  },
  "oklch": {
    "l": 0.3994,
    "c": 0.12843,
    "h": 10.3
  },
  "luminance": 0.05616
}

Semantic roles & 50–950 ramp

primary
#7D1F37
secondary
#48B095
accent
#E3BB44
background
#FAF6F6
surface
#F5EBEB
border
#CFC6C6
text
#110607
muted
#807A7A

Preview Lab

Preview with #7D1F37

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

Preview Lab → · Contrast checker → · Palette generator →

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