#7D225B#7D225B

#7D225B is a dark, vivid pink. Relative luminance 0.063; OKLCH L 41.5% C 0.139 H 346.3°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#7D225B
RGBrgb(125, 34, 91)
HSLhsl(322, 57%, 31%)
HSVhsv(322, 73%, 49%)
CMYKcmyk(0%, 72.8%, 27.2%, 51%)
CIE-LABlab(30.06, 44.52, -12.38)
CIE-LCHlch(30.06, 46.21, 344.45°)
OKLaboklab(41.54% 0.1349 -0.0328)
OKLCHoklch(41.54% 0.139 346.3)
XYZxyz(10.9183, 6.2605, 10.5289)
Luminance0.0626 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D225B #227D44
analogous
#71227D #7D225B #7D222D
triadic
#7D225B #5B7D22 #225B7D
tetradic
#7D225B #7D7122 #227D44 #222D7D
square
#7D225B #7D7122 #227D44 #222D7D
split-complementary
#7D225B #2D7D22 #227D71
monochromatic
#1D0815 #4D1538 #7D225B #AD2F7E #CE4B9D

Accessibility & contrast

On white

9.33
#7D225B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#7D225B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D225B
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D225B#FFFFFF#000000##FFFFFF
##7D225B1.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D3D5D
Deuteranopia (green-blind)
#484C59
Tritanopia (blue-blind)
#86203B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7d225b;
/* rgb */ color: rgb(125, 34, 91);
/* oklch */ color: oklch(41.5% 0.139 346.3);
Tailwind
colors: {
  custom: {
    50: '#a66589',
    500: '#7d225b',
    950: '#000000',
  },
}
SCSS
$custom: #7d225b;
$custom-light: #a66589;
$custom-dark: #000000;
JSON
{
  "hex": "#7d225b",
  "rgb": {
    "r": 125,
    "g": 34,
    "b": 91
  },
  "hsl": {
    "h": 322.418,
    "s": 57.233,
    "l": 31.176
  },
  "oklch": {
    "l": 0.41542,
    "c": 0.13886,
    "h": 346.3
  },
  "luminance": 0.06259
}

Semantic roles & 50–950 ramp

primary
#7D225B
secondary
#4BB071
accent
#E08147
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7D225B

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

Preview Lab → · Contrast checker → · Palette generator →

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