#7D1542#7D1542

#7D1542 is a dark, vivid pink. Relative luminance 0.053; OKLCH L 39.4% C 0.141 H 0.7°. Best body text is #FFFFFF at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#7D1542
RGBrgb(125, 21, 66)
HSLhsl(334, 71%, 29%)
HSVhsv(334, 83%, 49%)
CMYKcmyk(0%, 83.2%, 47.2%, 51%)
CIE-LABlab(27.55, 46.03, 0.43)
CIE-LCHlch(27.55, 46.03, 0.53°)
OKLaboklab(39.4% 0.1415 0.0016)
OKLCHoklch(39.4% 0.141 0.7)
XYZxyz(9.7098, 5.2910, 5.6632)
Luminance0.0529 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1542 #157D50
analogous
#7D1576 #7D1542 #7D1C15
triadic
#7D1542 #427D15 #15427D
tetradic
#7D1542 #767D15 #157D50 #1C157D
square
#7D1542 #767D15 #157D50 #1C157D
split-complementary
#7D1542 #157D1C #15767D
monochromatic
#1A040E #490C26 #7D1542 #B11E5E #DC307B

Accessibility & contrast

On white

10.20
#7D1542 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#7D1542 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1542
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1542#FFFFFF#000000##FFFFFF
##7D15421.0010.202.0610.20
#FFFFFF10.201.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F3443
Deuteranopia (green-blind)
#4A4840
Tritanopia (blue-blind)
#88002A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7d1542;
/* rgb */ color: rgb(125, 21, 66);
/* oklch */ color: oklch(39.4% 0.141 0.7);
Tailwind
colors: {
  custom: {
    50: '#a85f76',
    500: '#7d1542',
    950: '#000000',
  },
}
SCSS
$custom: #7d1542;
$custom-light: #a85f76;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1542",
  "rgb": {
    "r": 125,
    "g": 21,
    "b": 66
  },
  "hsl": {
    "h": 334.038,
    "s": 71.233,
    "l": 28.627
  },
  "oklch": {
    "l": 0.39397,
    "c": 0.14148,
    "h": 0.7
  },
  "luminance": 0.0529
}

Semantic roles & 50–950 ramp

primary
#7D1542
secondary
#3CB27F
accent
#EEA03A
background
#FAF5F7
surface
#F4EAED
border
#CEC6C8
text
#100508
muted
#7F797B

Preview Lab

Preview with #7D1542

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

Preview Lab → · Contrast checker → · Palette generator →

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