#7D1342#7D1342

#7D1342 is a dark, vivid pink. Relative luminance 0.052; OKLCH L 39.3% C 0.143 H 0.4°. Best body text is #FFFFFF at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#7D1342
RGBrgb(125, 19, 66)
HSLhsl(333, 74%, 28%)
HSVhsv(333, 85%, 49%)
CMYKcmyk(0%, 84.8%, 47.2%, 51%)
CIE-LABlab(27.35, 46.58, 0.14)
CIE-LCHlch(27.35, 46.58, 0.18°)
OKLaboklab(39.26% 0.1433 0.0009)
OKLCHoklch(39.26% 0.143 0.4)
XYZxyz(9.6745, 5.2204, 5.6514)
Luminance0.0522 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1342 #137D4E
analogous
#7D1377 #7D1342 #7D1913
triadic
#7D1342 #427D13 #13427D
tetradic
#7D1342 #777D13 #137D4E #19137D
square
#7D1342 #777D13 #137D4E #19137D
split-complementary
#7D1342 #137D19 #13777D
monochromatic
#1B040E #480B26 #7D1342 #B21B5E #DF2C7B

Accessibility & contrast

On white

10.27
#7D1342 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#7D1342 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1342
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1342#FFFFFF#000000##FFFFFF
##7D13421.0010.272.0410.27
#FFFFFF10.271.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E3443
Deuteranopia (green-blind)
#4A4840
Tritanopia (blue-blind)
#880029
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7d1342;
/* rgb */ color: rgb(125, 19, 66);
/* oklch */ color: oklch(39.3% 0.143 0.4);
Tailwind
colors: {
  custom: {
    50: '#a85f76',
    500: '#7d1342',
    950: '#000000',
  },
}
SCSS
$custom: #7d1342;
$custom-light: #a85f76;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1342",
  "rgb": {
    "r": 125,
    "g": 19,
    "b": 66
  },
  "hsl": {
    "h": 333.396,
    "s": 73.611,
    "l": 28.235
  },
  "oklch": {
    "l": 0.39255,
    "c": 0.14326,
    "h": 0.4
  },
  "luminance": 0.05219
}

Semantic roles & 50–950 ramp

primary
#7D1342
secondary
#39B37D
accent
#F09E38
background
#FAF5F7
surface
#F4EAED
border
#CEC6C8
text
#100508
muted
#7F797B

Preview Lab

Preview with #7D1342

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

Preview Lab → · Contrast checker → · Palette generator →

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