#7C225A#7C225A

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

Color values

HEX#7C225A
RGBrgb(124, 34, 90)
HSLhsl(323, 57%, 31%)
HSVhsv(323, 73%, 49%)
CMYKcmyk(0%, 72.6%, 27.4%, 51.4%)
CIE-LABlab(29.83, 44.09, -12.09)
CIE-LCHlch(29.83, 45.72, 344.66°)
OKLaboklab(41.33% 0.1337 -0.032)
OKLCHoklch(41.33% 0.137 346.5)
XYZxyz(10.7301, 6.1685, 10.2964)
Luminance0.0617 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C225A #227C44
analogous
#71227C #7C225A #7C222D
triadic
#7C225A #5A7C22 #225A7C
tetradic
#7C225A #7C7122 #227C44 #222D7C
square
#7C225A #7C7122 #227C44 #222D7C
split-complementary
#7C225A #2D7C22 #227C71
monochromatic
#1C0814 #4C1537 #7C225A #AC2F7D #CE4B9C

Accessibility & contrast

On white

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

On black

2.23
#7C225A on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7C225A#FFFFFF#000000##FFFFFF
##7C225A1.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7c225a;
/* rgb */ color: rgb(124, 34, 90);
/* oklch */ color: oklch(41.3% 0.137 346.5);
Tailwind
colors: {
  custom: {
    50: '#a56588',
    500: '#7c225a',
    950: '#000000',
  },
}
SCSS
$custom: #7c225a;
$custom-light: #a56588;
$custom-dark: #000000;
JSON
{
  "hex": "#7c225a",
  "rgb": {
    "r": 124,
    "g": 34,
    "b": 90
  },
  "hsl": {
    "h": 322.667,
    "s": 56.962,
    "l": 30.98
  },
  "oklch": {
    "l": 0.41327,
    "c": 0.13745,
    "h": 346.5
  },
  "luminance": 0.06167
}

Semantic roles & 50–950 ramp

primary
#7C225A
secondary
#4BAF71
accent
#E08148
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7C225A

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

Preview Lab → · Contrast checker → · Palette generator →

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