#7D2143#7D2143

#7D2143 is a dark, vivid pink. Relative luminance 0.059; OKLCH L 40.5% C 0.129 H 2.4°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#7D2143
RGBrgb(125, 33, 67)
HSLhsl(338, 58%, 31%)
HSVhsv(338, 74%, 49%)
CMYKcmyk(0%, 73.6%, 46.4%, 51%)
CIE-LABlab(29.04, 42.02, 1.93)
CIE-LCHlch(29.04, 42.06, 2.62°)
OKLaboklab(40.51% 0.1286 0.0054)
OKLCHoklch(40.51% 0.129 2.4)
XYZxyz(10.0152, 5.8542, 5.9117)
Luminance0.0585 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2143 #217D5B
analogous
#7D2171 #7D2143 #7D2D21
triadic
#7D2143 #437D21 #21437D
tetradic
#7D2143 #717D21 #217D5B #2D217D
square
#7D2143 #717D21 #217D5B #2D217D
split-complementary
#7D2143 #217D2D #21717D
monochromatic
#1C070F #4D1429 #7D2143 #AD2E5D #CF497B

Accessibility & contrast

On white

9.67
#7D2143 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D2143
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2143#FFFFFF#000000##FFFFFF
##7D21431.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353944
Deuteranopia (green-blind)
#4E4B41
Tritanopia (blue-blind)
#88132F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7d2143;
/* rgb */ color: rgb(125, 33, 67);
/* oklch */ color: oklch(40.5% 0.129 2.4);
Tailwind
colors: {
  custom: {
    50: '#a76476',
    500: '#7d2143',
    950: '#000000',
  },
}
SCSS
$custom: #7d2143;
$custom-light: #a76476;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2143",
  "rgb": {
    "r": 125,
    "g": 33,
    "b": 67
  },
  "hsl": {
    "h": 337.826,
    "s": 58.228,
    "l": 30.98
  },
  "oklch": {
    "l": 0.40506,
    "c": 0.12876,
    "h": 2.4
  },
  "luminance": 0.05853
}

Semantic roles & 50–950 ramp

primary
#7D2143
secondary
#4AB08A
accent
#E1A846
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100608
muted
#7F7A7B

Preview Lab

Preview with #7D2143

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

Preview Lab → · Contrast checker → · Palette generator →

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