#7D2140#7D2140

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

Color values

HEX#7D2140
RGBrgb(125, 33, 64)
HSLhsl(340, 58%, 31%)
HSVhsv(340, 74%, 49%)
CMYKcmyk(0%, 73.6%, 48.8%, 51%)
CIE-LABlab(28.95, 41.71, 3.80)
CIE-LCHlch(28.95, 41.89, 5.20°)
OKLaboklab(40.41% 0.1275 0.0102)
OKLCHoklch(40.41% 0.128 4.6)
XYZxyz(9.9275, 5.8191, 5.4499)
Luminance0.0582 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2140 #217D5E
analogous
#7D216E #7D2140 #7D3021
triadic
#7D2140 #407D21 #21407D
tetradic
#7D2140 #6E7D21 #217D5E #30217D
square
#7D2140 #6E7D21 #217D5E #30217D
split-complementary
#7D2140 #217D30 #216E7D
monochromatic
#1C070E #4D1427 #7D2140 #AD2E59 #CF4976

Accessibility & contrast

On white

9.71
#7D2140 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#7D2140 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2140
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2140#FFFFFF#000000##FFFFFF
##7D21401.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363941
Deuteranopia (green-blind)
#4E4B3E
Tritanopia (blue-blind)
#88112E
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7d2140;
/* rgb */ color: rgb(125, 33, 64);
/* oklch */ color: oklch(40.4% 0.128 4.6);
Tailwind
colors: {
  custom: {
    50: '#a76474',
    500: '#7d2140',
    950: '#000000',
  },
}
SCSS
$custom: #7d2140;
$custom-light: #a76474;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2140",
  "rgb": {
    "r": 125,
    "g": 33,
    "b": 64
  },
  "hsl": {
    "h": 339.783,
    "s": 58.228,
    "l": 30.98
  },
  "oklch": {
    "l": 0.4041,
    "c": 0.1279,
    "h": 4.6
  },
  "luminance": 0.05818
}

Semantic roles & 50–950 ramp

primary
#7D2140
secondary
#4AB08E
accent
#E1AD46
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100608
muted
#7F7A7B

Preview Lab

Preview with #7D2140

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

Preview Lab → · Contrast checker → · Palette generator →

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