#7D1840#7D1840

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

Color values

HEX#7D1840
RGBrgb(125, 24, 64)
HSLhsl(336, 68%, 29%)
HSVhsv(336, 81%, 49%)
CMYKcmyk(0%, 80.8%, 48.8%, 51%)
CIE-LABlab(27.80, 44.93, 2.15)
CIE-LCHlch(27.80, 44.98, 2.73°)
OKLaboklab(39.56% 0.1378 0.006)
OKLCHoklch(39.56% 0.138 2.5)
XYZxyz(9.7103, 5.3847, 5.3775)
Luminance0.0538 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1840 #187D55
analogous
#7D1873 #7D1840 #7D2318
triadic
#7D1840 #407D18 #18407D
tetradic
#7D1840 #737D18 #187D55 #23187D
square
#7D1840 #737D18 #187D55 #23187D
split-complementary
#7D1840 #187D23 #18737D
monochromatic
#1A050D #4A0E26 #7D1840 #B0225A #D93777

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D1840#FFFFFF#000000##FFFFFF
##7D18401.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)
#313541
Deuteranopia (green-blind)
#4C493E
Tritanopia (blue-blind)
#88002A
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7d1840;
/* rgb */ color: rgb(125, 24, 64);
/* oklch */ color: oklch(39.6% 0.138 2.5);
Tailwind
colors: {
  custom: {
    50: '#a86074',
    500: '#7d1840',
    950: '#000000',
  },
}
SCSS
$custom: #7d1840;
$custom-light: #a86074;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1840",
  "rgb": {
    "r": 125,
    "g": 24,
    "b": 64
  },
  "hsl": {
    "h": 336.238,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.39564,
    "c": 0.13795,
    "h": 2.5
  },
  "luminance": 0.05383
}

Semantic roles & 50–950 ramp

primary
#7D1840
secondary
#3FB284
accent
#EBA63D
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100508
muted
#7F7A7B

Preview Lab

Preview with #7D1840

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

Preview Lab → · Contrast checker → · Palette generator →

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