#7D1A38#7D1A38

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

Color values

HEX#7D1A38
RGBrgb(125, 26, 56)
HSLhsl(342, 66%, 30%)
HSVhsv(342, 79%, 49%)
CMYKcmyk(0%, 79.2%, 55.2%, 51%)
CIE-LABlab(27.81, 43.56, 7.54)
CIE-LCHlch(27.81, 44.21, 9.82°)
OKLaboklab(39.49% 0.1326 0.0193)
OKLCHoklch(39.49% 0.134 8.3)
XYZxyz(9.5415, 5.3856, 4.2777)
Luminance0.0538 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1A38 #1A7D5F
analogous
#7D1A6A #7D1A38 #7D2D1A
triadic
#7D1A38 #387D1A #1A387D
tetradic
#7D1A38 #6A7D1A #1A7D5F #2D1A7D
square
#7D1A38 #6A7D1A #1A7D5F #2D1A7D
split-complementary
#7D1A38 #1A7D2D #1A6A7D
monochromatic
#19050B #4A0F21 #7D1A38 #B0254F #D63B6A

Accessibility & contrast

On white

10.11
#7D1A38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D1A38
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1A38#FFFFFF#000000##FFFFFF
##7D1A381.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343539
Deuteranopia (green-blind)
#4E4936
Tritanopia (blue-blind)
#890027
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7d1a38;
/* rgb */ color: rgb(125, 26, 56);
/* oklch */ color: oklch(39.5% 0.134 8.3);
Tailwind
colors: {
  custom: {
    50: '#a8616e',
    500: '#7d1a38',
    950: '#000000',
  },
}
SCSS
$custom: #7d1a38;
$custom-light: #a8616e;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1a38",
  "rgb": {
    "r": 125,
    "g": 26,
    "b": 56
  },
  "hsl": {
    "h": 341.818,
    "s": 65.563,
    "l": 29.608
  },
  "oklch": {
    "l": 0.39491,
    "c": 0.13397,
    "h": 8.3
  },
  "luminance": 0.05384
}

Semantic roles & 50–950 ramp

primary
#7D1A38
secondary
#42B18F
accent
#E9B53F
background
#FAF6F6
surface
#F5EBEB
border
#CFC6C6
text
#110507
muted
#807A7A

Preview Lab

Preview with #7D1A38

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

Preview Lab → · Contrast checker → · Palette generator →

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