#7D1943#7D1943

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

Color values

HEX#7D1943
RGBrgb(125, 25, 67)
HSLhsl(335, 67%, 29%)
HSVhsv(335, 80%, 49%)
CMYKcmyk(0%, 80%, 46.4%, 51%)
CIE-LABlab(28.01, 44.90, 0.43)
CIE-LCHlch(28.01, 44.91, 0.55°)
OKLaboklab(39.75% 0.1379 0.0016)
OKLCHoklch(39.75% 0.138 0.7)
XYZxyz(9.8190, 5.4618, 5.8463)
Luminance0.0546 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1943 #197D53
analogous
#7D1975 #7D1943 #7D2119
triadic
#7D1943 #437D19 #19437D
tetradic
#7D1943 #757D19 #197D53 #21197D
square
#7D1943 #757D19 #197D53 #21197D
split-complementary
#7D1943 #197D21 #19757D
monochromatic
#1A050E #4A0F28 #7D1943 #B0235E #D7397C

Accessibility & contrast

On white

10.04
#7D1943 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#7D1943 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1943
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1943#FFFFFF#000000##FFFFFF
##7D19431.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#303644
Deuteranopia (green-blind)
#4B4941
Tritanopia (blue-blind)
#88042C
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7d1943;
/* rgb */ color: rgb(125, 25, 67);
/* oklch */ color: oklch(39.7% 0.138 0.7);
Tailwind
colors: {
  custom: {
    50: '#a76177',
    500: '#7d1943',
    950: '#000000',
  },
}
SCSS
$custom: #7d1943;
$custom-light: #a76177;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1943",
  "rgb": {
    "r": 125,
    "g": 25,
    "b": 67
  },
  "hsl": {
    "h": 334.8,
    "s": 66.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.39748,
    "c": 0.13791,
    "h": 0.7
  },
  "luminance": 0.0546
}

Semantic roles & 50–950 ramp

primary
#7D1943
secondary
#40B182
accent
#EAA23E
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100508
muted
#7F7A7B

Preview Lab

Preview with #7D1943

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

Preview Lab → · Contrast checker → · Palette generator →

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