#7D2139#7D2139

#7D2139 is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.2% C 0.126 H 9.5°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#7D2139
RGBrgb(125, 33, 57)
HSLhsl(344, 58%, 31%)
HSVhsv(344, 74%, 49%)
CMYKcmyk(0%, 73.6%, 54.4%, 51%)
CIE-LABlab(28.76, 41.06, 8.20)
CIE-LCHlch(28.76, 41.87, 11.29°)
OKLaboklab(40.2% 0.1247 0.0209)
OKLCHoklch(40.2% 0.126 9.5)
XYZxyz(9.7407, 5.7444, 4.4660)
Luminance0.0574 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2139 #217D65
analogous
#7D2167 #7D2139 #7D3721
triadic
#7D2139 #397D21 #21397D
tetradic
#7D2139 #677D21 #217D65 #37217D
square
#7D2139 #677D21 #217D65 #37217D
split-complementary
#7D2139 #217D37 #21677D
monochromatic
#1C070D #4D1423 #7D2139 #AD2E4F #CF496C

Accessibility & contrast

On white

9.77
#7D2139 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#7D2139 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2139
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2139#FFFFFF#000000##FFFFFF
##7D21391.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373839
Deuteranopia (green-blind)
#4F4B37
Tritanopia (blue-blind)
#890D2B
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7d2139;
/* rgb */ color: rgb(125, 33, 57);
/* oklch */ color: oklch(40.2% 0.126 9.5);
Tailwind
colors: {
  custom: {
    50: '#a8646f',
    500: '#7d2139',
    950: '#000000',
  },
}
SCSS
$custom: #7d2139;
$custom-light: #a8646f;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2139",
  "rgb": {
    "r": 125,
    "g": 33,
    "b": 57
  },
  "hsl": {
    "h": 344.348,
    "s": 58.228,
    "l": 30.98
  },
  "oklch": {
    "l": 0.40204,
    "c": 0.12642,
    "h": 9.5
  },
  "luminance": 0.05743
}

Semantic roles & 50–950 ramp

primary
#7D2139
secondary
#4AB095
accent
#E1B946
background
#FAF6F6
surface
#F4EBEC
border
#CEC6C7
text
#100607
muted
#7F7A7A

Preview Lab

Preview with #7D2139

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

Preview Lab → · Contrast checker → · Palette generator →

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