#7D2242#7D2242

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

Color values

HEX#7D2242
RGBrgb(125, 34, 66)
HSLhsl(339, 57%, 31%)
HSVhsv(339, 73%, 49%)
CMYKcmyk(0%, 72.8%, 47.2%, 51%)
CIE-LABlab(29.16, 41.51, 2.76)
CIE-LCHlch(29.16, 41.61, 3.80°)
OKLaboklab(40.58% 0.127 0.0075)
OKLCHoklch(40.58% 0.127 3.4)
XYZxyz(10.0136, 5.8987, 5.7644)
Luminance0.0590 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2242 #227D5D
analogous
#7D226F #7D2242 #7D2F22
triadic
#7D2242 #427D22 #22427D
tetradic
#7D2242 #6F7D22 #227D5D #2F227D
square
#7D2242 #6F7D22 #227D5D #2F227D
split-complementary
#7D2242 #227D2F #226F7D
monochromatic
#1D080F #4D1529 #7D2242 #AD2F5B #CE4B79

Accessibility & contrast

On white

9.64
#7D2242 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#7D2242 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2242
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2242#FFFFFF#000000##FFFFFF
##7D22421.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363943
Deuteranopia (green-blind)
#4E4B40
Tritanopia (blue-blind)
#88142F
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7d2242;
/* rgb */ color: rgb(125, 34, 66);
/* oklch */ color: oklch(40.6% 0.127 3.4);
Tailwind
colors: {
  custom: {
    50: '#a76576',
    500: '#7d2242',
    950: '#000000',
  },
}
SCSS
$custom: #7d2242;
$custom-light: #a76576;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2242",
  "rgb": {
    "r": 125,
    "g": 34,
    "b": 66
  },
  "hsl": {
    "h": 338.901,
    "s": 57.233,
    "l": 31.176
  },
  "oklch": {
    "l": 0.4058,
    "c": 0.12721,
    "h": 3.4
  },
  "luminance": 0.05897
}

Semantic roles & 50–950 ramp

primary
#7D2242
secondary
#4BB08C
accent
#E0AB47
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100608
muted
#7F7A7B

Preview Lab

Preview with #7D2242

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

Preview Lab → · Contrast checker → · Palette generator →

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