#7C225D#7C225D

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

Color values

HEX#7C225D
RGBrgb(124, 34, 93)
HSLhsl(321, 57%, 31%)
HSVhsv(321, 73%, 49%)
CMYKcmyk(0%, 72.6%, 25%, 51.4%)
CIE-LABlab(29.96, 44.51, -13.85)
CIE-LCHlch(29.96, 46.62, 342.71°)
OKLaboklab(41.46% 0.1344 -0.0369)
OKLCHoklch(41.46% 0.139 344.7)
XYZxyz(10.8604, 6.2206, 10.9825)
Luminance0.0622 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C225D #227C41
analogous
#6E227C #7C225D #7C2230
triadic
#7C225D #5D7C22 #225D7C
tetradic
#7C225D #7C6E22 #227C41 #22307C
square
#7C225D #7C6E22 #227C41 #22307C
split-complementary
#7C225D #307C22 #227C6E
monochromatic
#1C0815 #4C1539 #7C225D #AC2F81 #CE4BA1

Accessibility & contrast

On white

9.36
#7C225D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7C225D
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C225D#FFFFFF#000000##FFFFFF
##7C225D1.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C3D5F
Deuteranopia (green-blind)
#474C5B
Tritanopia (blue-blind)
#84213C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7c225d;
/* rgb */ color: rgb(124, 34, 93);
/* oklch */ color: oklch(41.5% 0.139 344.7);
Tailwind
colors: {
  custom: {
    50: '#a5658b',
    500: '#7c225d',
    950: '#000000',
  },
}
SCSS
$custom: #7c225d;
$custom-light: #a5658b;
$custom-dark: #000000;
JSON
{
  "hex": "#7c225d",
  "rgb": {
    "r": 124,
    "g": 34,
    "b": 93
  },
  "hsl": {
    "h": 320.667,
    "s": 56.962,
    "l": 30.98
  },
  "oklch": {
    "l": 0.41463,
    "c": 0.13935,
    "h": 344.7
  },
  "luminance": 0.06219
}

Semantic roles & 50–950 ramp

primary
#7C225D
secondary
#4BAF6D
accent
#E07C48
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7C225D

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

Preview Lab → · Contrast checker → · Palette generator →

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