#7D224B#7D224B

#7D224B is a dark, vivid pink. Relative luminance 0.060; OKLCH L 40.9% C 0.130 H 357.0°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#7D224B
RGBrgb(125, 34, 75)
HSLhsl(333, 57%, 31%)
HSVhsv(333, 73%, 49%)
CMYKcmyk(0%, 72.8%, 40%, 51%)
CIE-LABlab(29.45, 42.49, -2.80)
CIE-LCHlch(29.45, 42.59, 356.24°)
OKLaboklab(40.89% 0.1303 -0.0068)
OKLCHoklch(40.89% 0.13 357)
XYZxyz(10.3002, 6.0133, 7.2735)
Luminance0.0601 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D224B #227D54
analogous
#7D2278 #7D224B #7D2622
triadic
#7D224B #4B7D22 #224B7D
tetradic
#7D224B #787D22 #227D54 #26227D
square
#7D224B #787D22 #227D54 #26227D
split-complementary
#7D224B #227D26 #22787D
monochromatic
#1D0811 #4D152E #7D224B #AD2F68 #CE4B86

Accessibility & contrast

On white

9.54
#7D224B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#7D224B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D224B
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D224B#FFFFFF#000000##FFFFFF
##7D224B1.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333B4C
Deuteranopia (green-blind)
#4C4C49
Tritanopia (blue-blind)
#871833
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7d224b;
/* rgb */ color: rgb(125, 34, 75);
/* oklch */ color: oklch(40.9% 0.130 357.0);
Tailwind
colors: {
  custom: {
    50: '#a7657d',
    500: '#7d224b',
    950: '#000000',
  },
}
SCSS
$custom: #7d224b;
$custom-light: #a7657d;
$custom-dark: #000000;
JSON
{
  "hex": "#7d224b",
  "rgb": {
    "r": 125,
    "g": 34,
    "b": 75
  },
  "hsl": {
    "h": 332.967,
    "s": 57.233,
    "l": 31.176
  },
  "oklch": {
    "l": 0.4089,
    "c": 0.13044,
    "h": 357
  },
  "luminance": 0.06012
}

Semantic roles & 50–950 ramp

primary
#7D224B
secondary
#4BB082
accent
#E09B47
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #7D224B

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

Preview Lab → · Contrast checker → · Palette generator →

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