#7D1C40#7D1C40

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

Color values

HEX#7D1C40
RGBrgb(125, 28, 64)
HSLhsl(338, 63%, 30%)
HSVhsv(338, 78%, 49%)
CMYKcmyk(0%, 77.6%, 48.8%, 51%)
CIE-LABlab(28.28, 43.59, 2.83)
CIE-LCHlch(28.28, 43.68, 3.72°)
OKLaboklab(39.91% 0.1335 0.0077)
OKLCHoklch(39.91% 0.134 3.3)
XYZxyz(9.7989, 5.5620, 5.4071)
Luminance0.0556 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1C40 #1C7D59
analogous
#7D1C71 #7D1C40 #7D281C
triadic
#7D1C40 #407D1C #1C407D
tetradic
#7D1C40 #717D1C #1C7D59 #281C7D
square
#7D1C40 #717D1C #1C7D59 #281C7D
split-complementary
#7D1C40 #1C7D28 #1C717D
monochromatic
#19060D #4B1126 #7D1C40 #AF275A #D43F77

Accessibility & contrast

On white

9.94
#7D1C40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D1C40
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1C40#FFFFFF#000000##FFFFFF
##7D1C401.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333741
Deuteranopia (green-blind)
#4D4A3E
Tritanopia (blue-blind)
#88082B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7d1c40;
/* rgb */ color: rgb(125, 28, 64);
/* oklch */ color: oklch(39.9% 0.134 3.3);
Tailwind
colors: {
  custom: {
    50: '#a86274',
    500: '#7d1c40',
    950: '#000000',
  },
}
SCSS
$custom: #7d1c40;
$custom-light: #a86274;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1c40",
  "rgb": {
    "r": 125,
    "g": 28,
    "b": 64
  },
  "hsl": {
    "h": 337.732,
    "s": 63.399,
    "l": 30
  },
  "oklch": {
    "l": 0.39914,
    "c": 0.13373,
    "h": 3.3
  },
  "luminance": 0.05561
}

Semantic roles & 50–950 ramp

primary
#7D1C40
secondary
#44B188
accent
#E6A941
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100608
muted
#7F7A7B

Preview Lab

Preview with #7D1C40

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

Preview Lab → · Contrast checker → · Palette generator →

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