#7C224D#7C224D

#7C224D is a dark, vivid pink. Relative luminance 0.060; OKLCH L 40.8% C 0.130 H 355.2°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#7C224D
RGBrgb(124, 34, 77)
HSLhsl(331, 57%, 31%)
HSVhsv(331, 73%, 49%)
CMYKcmyk(0%, 72.6%, 37.9%, 51.4%)
CIE-LABlab(29.33, 42.42, -4.32)
CIE-LCHlch(29.33, 42.64, 354.19°)
OKLaboklab(40.79% 0.13 -0.0108)
OKLCHoklch(40.79% 0.13 355.2)
XYZxyz(10.2244, 5.9662, 7.6329)
Luminance0.0597 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C224D #227C51
analogous
#7C227A #7C224D #7C2422
triadic
#7C224D #4D7C22 #224D7C
tetradic
#7C224D #7A7C22 #227C51 #24227C
square
#7C224D #7A7C22 #227C51 #24227C
split-complementary
#7C224D #227C24 #227A7C
monochromatic
#1C0811 #4C152F #7C224D #AC2F6B #CE4B89

Accessibility & contrast

On white

9.58
#7C224D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#7C224D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C224D
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C224D#FFFFFF#000000##FFFFFF
##7C224D1.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323A4E
Deuteranopia (green-blind)
#4B4B4B
Tritanopia (blue-blind)
#861A34
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7c224d;
/* rgb */ color: rgb(124, 34, 77);
/* oklch */ color: oklch(40.8% 0.130 355.2);
Tailwind
colors: {
  custom: {
    50: '#a6657e',
    500: '#7c224d',
    950: '#000000',
  },
}
SCSS
$custom: #7c224d;
$custom-light: #a6657e;
$custom-dark: #000000;
JSON
{
  "hex": "#7c224d",
  "rgb": {
    "r": 124,
    "g": 34,
    "b": 77
  },
  "hsl": {
    "h": 331.333,
    "s": 56.962,
    "l": 30.98
  },
  "oklch": {
    "l": 0.4079,
    "c": 0.1304,
    "h": 355.2
  },
  "luminance": 0.05965
}

Semantic roles & 50–950 ramp

primary
#7C224D
secondary
#4BAF7F
accent
#E09748
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7C224D

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

Preview Lab → · Contrast checker → · Palette generator →

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