#7D1B40#7D1B40

#7D1B40 is a dark, vivid pink. Relative luminance 0.055; OKLCH L 39.8% C 0.135 H 3.1°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#7D1B40
RGBrgb(125, 27, 64)
HSLhsl(337, 64%, 30%)
HSVhsv(337, 78%, 49%)
CMYKcmyk(0%, 78.4%, 48.8%, 51%)
CIE-LABlab(28.16, 43.94, 2.65)
CIE-LCHlch(28.16, 44.02, 3.45°)
OKLaboklab(39.82% 0.1346 0.0073)
OKLCHoklch(39.82% 0.135 3.1)
XYZxyz(9.7756, 5.5153, 5.3993)
Luminance0.0551 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1B40 #1B7D58
analogous
#7D1B71 #7D1B40 #7D271B
triadic
#7D1B40 #407D1B #1B407D
tetradic
#7D1B40 #717D1B #1B7D58 #271B7D
square
#7D1B40 #717D1B #1B7D58 #271B7D
split-complementary
#7D1B40 #1B7D27 #1B717D
monochromatic
#19050D #4B1026 #7D1B40 #AF265A #D53D77

Accessibility & contrast

On white

9.99
#7D1B40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#7D1B40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1B40
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1B40#FFFFFF#000000##FFFFFF
##7D1B401.009.992.109.99
#FFFFFF9.991.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323641
Deuteranopia (green-blind)
#4C493E
Tritanopia (blue-blind)
#88062B
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7d1b40;
/* rgb */ color: rgb(125, 27, 64);
/* oklch */ color: oklch(39.8% 0.135 3.1);
Tailwind
colors: {
  custom: {
    50: '#a86174',
    500: '#7d1b40',
    950: '#000000',
  },
}
SCSS
$custom: #7d1b40;
$custom-light: #a86174;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1b40",
  "rgb": {
    "r": 125,
    "g": 27,
    "b": 64
  },
  "hsl": {
    "h": 337.347,
    "s": 64.474,
    "l": 29.804
  },
  "oklch": {
    "l": 0.39822,
    "c": 0.13483,
    "h": 3.1
  },
  "luminance": 0.05514
}

Semantic roles & 50–950 ramp

primary
#7D1B40
secondary
#43B187
accent
#E7A840
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100508
muted
#7F7A7B

Preview Lab

Preview with #7D1B40

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

Preview Lab → · Contrast checker → · Palette generator →

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