#7D1A45#7D1A45

#7D1A45 is a dark, vivid pink. Relative luminance 0.055; OKLCH L 39.9% C 0.138 H 359.5°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#7D1A45
RGBrgb(125, 26, 69)
HSLhsl(334, 66%, 30%)
HSVhsv(334, 79%, 49%)
CMYKcmyk(0%, 79.2%, 44.8%, 51%)
CIE-LABlab(28.19, 44.78, -0.64)
CIE-LCHlch(28.19, 44.78, 359.18°)
OKLaboklab(39.9% 0.1376 -0.0012)
OKLCHoklch(39.9% 0.138 359.5)
XYZxyz(9.9018, 5.5297, 6.1750)
Luminance0.0553 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1A45 #1A7D52
analogous
#7D1A77 #7D1A45 #7D201A
triadic
#7D1A45 #457D1A #1A457D
tetradic
#7D1A45 #777D1A #1A7D52 #201A7D
square
#7D1A45 #777D1A #1A7D52 #201A7D
split-complementary
#7D1A45 #1A7D20 #1A777D
monochromatic
#19050E #4A0F29 #7D1A45 #B02561 #D63B7F

Accessibility & contrast

On white

9.97
#7D1A45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#7D1A45 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1A45
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1A45#FFFFFF#000000##FFFFFF
##7D1A451.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#303646
Deuteranopia (green-blind)
#4B4943
Tritanopia (blue-blind)
#88082D
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7d1a45;
/* rgb */ color: rgb(125, 26, 69);
/* oklch */ color: oklch(39.9% 0.138 359.5);
Tailwind
colors: {
  custom: {
    50: '#a76178',
    500: '#7d1a45',
    950: '#000000',
  },
}
SCSS
$custom: #7d1a45;
$custom-light: #a76178;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1a45",
  "rgb": {
    "r": 125,
    "g": 26,
    "b": 69
  },
  "hsl": {
    "h": 333.939,
    "s": 65.563,
    "l": 29.608
  },
  "oklch": {
    "l": 0.39903,
    "c": 0.13755,
    "h": 359.5
  },
  "luminance": 0.05528
}

Semantic roles & 50–950 ramp

primary
#7D1A45
secondary
#42B181
accent
#E99F3F
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100509
muted
#7F7A7B

Preview Lab

Preview with #7D1A45

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

Preview Lab → · Contrast checker → · Palette generator →

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