#7D225F#7D225F

#7D225F is a dark, vivid pink. Relative luminance 0.063; OKLCH L 41.7% C 0.141 H 343.9°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#7D225F
RGBrgb(125, 34, 95)
HSLhsl(320, 57%, 31%)
HSVhsv(320, 73%, 49%)
CMYKcmyk(0%, 72.8%, 24%, 51%)
CIE-LABlab(30.23, 45.08, -14.72)
CIE-LCHlch(30.23, 47.42, 341.92°)
OKLaboklab(41.73% 0.1359 -0.0393)
OKLCHoklch(41.73% 0.141 343.9)
XYZxyz(11.0954, 6.3314, 11.4620)
Luminance0.0633 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D225F #227D40
analogous
#6D227D #7D225F #7D2231
triadic
#7D225F #5F7D22 #225F7D
tetradic
#7D225F #7D6D22 #227D40 #22317D
square
#7D225F #7D6D22 #227D40 #22317D
split-complementary
#7D225F #317D22 #227D6D
monochromatic
#1D0816 #4D153A #7D225F #AD2F84 #CE4BA3

Accessibility & contrast

On white

9.27
#7D225F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#7D225F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D225F
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D225F#FFFFFF#000000##FFFFFF
##7D225F1.009.272.279.27
#FFFFFF9.271.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B3D61
Deuteranopia (green-blind)
#474D5D
Tritanopia (blue-blind)
#85223D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7d225f;
/* rgb */ color: rgb(125, 34, 95);
/* oklch */ color: oklch(41.7% 0.141 343.9);
Tailwind
colors: {
  custom: {
    50: '#a6668c',
    500: '#7d225f',
    950: '#000000',
  },
}
SCSS
$custom: #7d225f;
$custom-light: #a6668c;
$custom-dark: #000000;
JSON
{
  "hex": "#7d225f",
  "rgb": {
    "r": 125,
    "g": 34,
    "b": 95
  },
  "hsl": {
    "h": 319.78,
    "s": 57.233,
    "l": 31.176
  },
  "oklch": {
    "l": 0.41725,
    "c": 0.14141,
    "h": 343.9
  },
  "luminance": 0.0633
}

Semantic roles & 50–950 ramp

primary
#7D225F
secondary
#4BB06C
accent
#E07A47
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7D225F

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

Preview Lab → · Contrast checker → · Palette generator →

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