#7D2240#7D2240

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

Color values

HEX#7D2240
RGBrgb(125, 34, 64)
HSLhsl(340, 57%, 31%)
HSVhsv(340, 73%, 49%)
CMYKcmyk(0%, 72.8%, 48.8%, 51%)
CIE-LABlab(29.10, 41.31, 4.00)
CIE-LCHlch(29.10, 41.51, 5.53°)
OKLaboklab(40.52% 0.1262 0.0107)
OKLCHoklch(40.52% 0.127 4.8)
XYZxyz(9.9557, 5.8755, 5.4593)
Luminance0.0587 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2240 #227D5F
analogous
#7D226D #7D2240 #7D3122
triadic
#7D2240 #407D22 #22407D
tetradic
#7D2240 #6D7D22 #227D5F #31227D
square
#7D2240 #6D7D22 #227D5F #31227D
split-complementary
#7D2240 #227D31 #226D7D
monochromatic
#1D080F #4D1527 #7D2240 #AD2F59 #CE4B76

Accessibility & contrast

On white

9.66
#7D2240 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D2240
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2240#FFFFFF#000000##FFFFFF
##7D22401.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373941
Deuteranopia (green-blind)
#4F4B3E
Tritanopia (blue-blind)
#88132E
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7d2240;
/* rgb */ color: rgb(125, 34, 64);
/* oklch */ color: oklch(40.5% 0.127 4.8);
Tailwind
colors: {
  custom: {
    50: '#a76574',
    500: '#7d2240',
    950: '#000000',
  },
}
SCSS
$custom: #7d2240;
$custom-light: #a76574;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2240",
  "rgb": {
    "r": 125,
    "g": 34,
    "b": 64
  },
  "hsl": {
    "h": 340.22,
    "s": 57.233,
    "l": 31.176
  },
  "oklch": {
    "l": 0.40517,
    "c": 0.12667,
    "h": 4.8
  },
  "luminance": 0.05874
}

Semantic roles & 50–950 ramp

primary
#7D2240
secondary
#4BB08F
accent
#E0AE47
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100608
muted
#7F7A7B

Preview Lab

Preview with #7D2240

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

Preview Lab → · Contrast checker → · Palette generator →

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