#7C225B#7C225B

#7C225B is a dark, vivid pink. Relative luminance 0.062; OKLCH L 41.4% C 0.138 H 345.9°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#7C225B
RGBrgb(124, 34, 91)
HSLhsl(322, 57%, 31%)
HSVhsv(322, 73%, 49%)
CMYKcmyk(0%, 72.6%, 26.6%, 51.4%)
CIE-LABlab(29.88, 44.23, -12.68)
CIE-LCHlch(29.88, 46.02, 344.00°)
OKLaboklab(41.37% 0.1339 -0.0336)
OKLCHoklch(41.37% 0.138 345.9)
XYZxyz(10.7730, 6.1856, 10.5221)
Luminance0.0618 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C225B #227C43
analogous
#70227C #7C225B #7C222E
triadic
#7C225B #5B7C22 #225B7C
tetradic
#7C225B #7C7022 #227C43 #222E7C
square
#7C225B #7C7022 #227C43 #222E7C
split-complementary
#7C225B #2E7C22 #227C70
monochromatic
#1C0815 #4C1538 #7C225B #AC2F7E #CE4B9E

Accessibility & contrast

On white

9.39
#7C225B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7C225B
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C225B#FFFFFF#000000##FFFFFF
##7C225B1.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7c225b;
/* rgb */ color: rgb(124, 34, 91);
/* oklch */ color: oklch(41.4% 0.138 345.9);
Tailwind
colors: {
  custom: {
    50: '#a56589',
    500: '#7c225b',
    950: '#000000',
  },
}
SCSS
$custom: #7c225b;
$custom-light: #a56589;
$custom-dark: #000000;
JSON
{
  "hex": "#7c225b",
  "rgb": {
    "r": 124,
    "g": 34,
    "b": 91
  },
  "hsl": {
    "h": 322,
    "s": 56.962,
    "l": 30.98
  },
  "oklch": {
    "l": 0.41372,
    "c": 0.13807,
    "h": 345.9
  },
  "luminance": 0.06184
}

Semantic roles & 50–950 ramp

primary
#7C225B
secondary
#4BAF70
accent
#E08048
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7C225B

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

Preview Lab → · Contrast checker → · Palette generator →

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