#7D2239#7D2239

#7D2239 is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.3% C 0.125 H 9.8°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#7D2239
RGBrgb(125, 34, 57)
HSLhsl(345, 57%, 31%)
HSVhsv(345, 73%, 49%)
CMYKcmyk(0%, 72.8%, 54.4%, 51%)
CIE-LABlab(28.90, 40.66, 8.40)
CIE-LCHlch(28.90, 41.52, 11.67°)
OKLaboklab(40.31% 0.1234 0.0214)
OKLCHoklch(40.31% 0.125 9.8)
XYZxyz(9.7689, 5.8008, 4.4753)
Luminance0.0580 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2239 #227D66
analogous
#7D2266 #7D2239 #7D3822
triadic
#7D2239 #397D22 #22397D
tetradic
#7D2239 #667D22 #227D66 #38227D
square
#7D2239 #667D22 #227D66 #38227D
split-complementary
#7D2239 #227D38 #22667D
monochromatic
#1D080D #4D1523 #7D2239 #AD2F4F #CE4B6C

Accessibility & contrast

On white

9.72
#7D2239 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D2239
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2239#FFFFFF#000000##FFFFFF
##7D22391.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383839
Deuteranopia (green-blind)
#504B37
Tritanopia (blue-blind)
#890F2B
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7d2239;
/* rgb */ color: rgb(125, 34, 57);
/* oklch */ color: oklch(40.3% 0.125 9.8);
Tailwind
colors: {
  custom: {
    50: '#a8646f',
    500: '#7d2239',
    950: '#000000',
  },
}
SCSS
$custom: #7d2239;
$custom-light: #a8646f;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2239",
  "rgb": {
    "r": 125,
    "g": 34,
    "b": 57
  },
  "hsl": {
    "h": 344.835,
    "s": 57.233,
    "l": 31.176
  },
  "oklch": {
    "l": 0.40312,
    "c": 0.12524,
    "h": 9.8
  },
  "luminance": 0.05799
}

Semantic roles & 50–950 ramp

primary
#7D2239
secondary
#4BB096
accent
#E0BA47
background
#FAF6F6
surface
#F4EBEC
border
#CEC6C7
text
#100607
muted
#7F7A7A

Preview Lab

Preview with #7D2239

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

Preview Lab → · Contrast checker → · Palette generator →

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