#7D1A37#7D1A37

#7D1A37 is a dark, vivid pink. Relative luminance 0.054; OKLCH L 39.5% C 0.134 H 9.0°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#7D1A37
RGBrgb(125, 26, 55)
HSLhsl(342, 66%, 30%)
HSVhsv(342, 79%, 49%)
CMYKcmyk(0%, 79.2%, 56%, 51%)
CIE-LABlab(27.78, 43.48, 8.17)
CIE-LCHlch(27.78, 44.24, 10.65°)
OKLaboklab(39.46% 0.1322 0.0208)
OKLCHoklch(39.46% 0.134 9)
XYZxyz(9.5173, 5.3759, 4.1502)
Luminance0.0537 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1A37 #1A7D60
analogous
#7D1A69 #7D1A37 #7D2E1A
triadic
#7D1A37 #377D1A #1A377D
tetradic
#7D1A37 #697D1A #1A7D60 #2E1A7D
square
#7D1A37 #697D1A #1A7D60 #2E1A7D
split-complementary
#7D1A37 #1A7D2E #1A697D
monochromatic
#19050B #4A0F21 #7D1A37 #B0254D #D63B69

Accessibility & contrast

On white

10.12
#7D1A37 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#7D1A37 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1A37
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1A37#FFFFFF#000000##FFFFFF
##7D1A371.0010.122.0810.12
#FFFFFF10.121.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343538
Deuteranopia (green-blind)
#4E4935
Tritanopia (blue-blind)
#890026
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7d1a37;
/* rgb */ color: rgb(125, 26, 55);
/* oklch */ color: oklch(39.5% 0.134 9.0);
Tailwind
colors: {
  custom: {
    50: '#a8616d',
    500: '#7d1a37',
    950: '#000000',
  },
}
SCSS
$custom: #7d1a37;
$custom-light: #a8616d;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1a37",
  "rgb": {
    "r": 125,
    "g": 26,
    "b": 55
  },
  "hsl": {
    "h": 342.424,
    "s": 65.563,
    "l": 29.608
  },
  "oklch": {
    "l": 0.39463,
    "c": 0.1338,
    "h": 9
  },
  "luminance": 0.05375
}

Semantic roles & 50–950 ramp

primary
#7D1A37
secondary
#42B190
accent
#E9B73F
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110507
muted
#807A7A

Preview Lab

Preview with #7D1A37

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

Preview Lab → · Contrast checker → · Palette generator →

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