#7D2256#7D2256

#7D2256 is a dark, vivid pink. Relative luminance 0.062; OKLCH L 41.3% C 0.136 H 349.6°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#7D2256
RGBrgb(125, 34, 86)
HSLhsl(326, 57%, 31%)
HSVhsv(326, 73%, 49%)
CMYKcmyk(0%, 72.8%, 31.2%, 51%)
CIE-LABlab(29.85, 43.85, -9.43)
CIE-LCHlch(29.85, 44.85, 347.86°)
OKLaboklab(41.32% 0.1337 -0.0246)
OKLCHoklch(41.32% 0.136 349.6)
XYZxyz(10.7097, 6.1771, 9.4306)
Luminance0.0618 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2256 #227D49
analogous
#76227D #7D2256 #7D2228
triadic
#7D2256 #567D22 #22567D
tetradic
#7D2256 #7D7622 #227D49 #22287D
square
#7D2256 #7D7622 #227D49 #22287D
split-complementary
#7D2256 #287D22 #227D76
monochromatic
#1D0814 #4D1535 #7D2256 #AD2F77 #CE4B96

Accessibility & contrast

On white

9.40
#7D2256 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#7D2256 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2256
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2256#FFFFFF#000000##FFFFFF
##7D22561.009.402.249.40
#FFFFFF9.401.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#303C57
Deuteranopia (green-blind)
#4A4C54
Tritanopia (blue-blind)
#861D39
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7d2256;
/* rgb */ color: rgb(125, 34, 86);
/* oklch */ color: oklch(41.3% 0.136 349.6);
Tailwind
colors: {
  custom: {
    50: '#a66585',
    500: '#7d2256',
    950: '#000000',
  },
}
SCSS
$custom: #7d2256;
$custom-light: #a66585;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2256",
  "rgb": {
    "r": 125,
    "g": 34,
    "b": 86
  },
  "hsl": {
    "h": 325.714,
    "s": 57.233,
    "l": 31.176
  },
  "oklch": {
    "l": 0.41324,
    "c": 0.1359,
    "h": 349.6
  },
  "luminance": 0.06176
}

Semantic roles & 50–950 ramp

primary
#7D2256
secondary
#4BB076
accent
#E08947
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7D2256

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

Preview Lab → · Contrast checker → · Palette generator →

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