#7D2142#7D2142

#7D2142 is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.5% C 0.128 H 3.1°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#7D2142
RGBrgb(125, 33, 66)
HSLhsl(338, 58%, 31%)
HSVhsv(338, 74%, 49%)
CMYKcmyk(0%, 73.6%, 47.2%, 51%)
CIE-LABlab(29.01, 41.92, 2.55)
CIE-LCHlch(29.01, 41.99, 3.48°)
OKLaboklab(40.47% 0.1283 0.007)
OKLCHoklch(40.47% 0.128 3.1)
XYZxyz(9.9855, 5.8423, 5.7551)
Luminance0.0584 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2142 #217D5C
analogous
#7D2170 #7D2142 #7D2E21
triadic
#7D2142 #427D21 #21427D
tetradic
#7D2142 #707D21 #217D5C #2E217D
square
#7D2142 #707D21 #217D5C #2E217D
split-complementary
#7D2142 #217D2E #21707D
monochromatic
#1C070F #4D1428 #7D2142 #AD2E5C #CF4979

Accessibility & contrast

On white

9.69
#7D2142 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#7D2142 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2142
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2142#FFFFFF#000000##FFFFFF
##7D21421.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353943
Deuteranopia (green-blind)
#4E4B40
Tritanopia (blue-blind)
#88122F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7d2142;
/* rgb */ color: rgb(125, 33, 66);
/* oklch */ color: oklch(40.5% 0.128 3.1);
Tailwind
colors: {
  custom: {
    50: '#a76476',
    500: '#7d2142',
    950: '#000000',
  },
}
SCSS
$custom: #7d2142;
$custom-light: #a76476;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2142",
  "rgb": {
    "r": 125,
    "g": 33,
    "b": 66
  },
  "hsl": {
    "h": 338.478,
    "s": 58.228,
    "l": 30.98
  },
  "oklch": {
    "l": 0.40473,
    "c": 0.12846,
    "h": 3.1
  },
  "luminance": 0.05841
}

Semantic roles & 50–950 ramp

primary
#7D2142
secondary
#4AB08B
accent
#E1AA46
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100608
muted
#7F7A7B

Preview Lab

Preview with #7D2142

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

Preview Lab → · Contrast checker → · Palette generator →

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