#7C204B#7C204B

#7C204B is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.5% C 0.132 H 356.2°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#7C204B
RGBrgb(124, 32, 75)
HSLhsl(332, 59%, 31%)
HSVhsv(332, 74%, 49%)
CMYKcmyk(0%, 74.2%, 39.5%, 51.4%)
CIE-LABlab(28.97, 42.98, -3.52)
CIE-LCHlch(28.97, 43.12, 355.32°)
OKLaboklab(40.51% 0.1318 -0.0087)
OKLCHoklch(40.51% 0.132 356.2)
XYZxyz(10.0994, 5.8273, 7.2482)
Luminance0.0583 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C204B #207C51
analogous
#7C2079 #7C204B #7C2320
triadic
#7C204B #4B7C20 #204B7C
tetradic
#7C204B #797C20 #207C51 #23207C
square
#7C204B #797C20 #207C51 #23207C
split-complementary
#7C204B #207C23 #20797C
monochromatic
#1B0710 #4B132E #7C204B #AD2D68 #CF4787

Accessibility & contrast

On white

9.70
#7C204B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#7C204B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C204B
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C204B#FFFFFF#000000##FFFFFF
##7C204B1.009.702.179.70
#FFFFFF9.701.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#32394C
Deuteranopia (green-blind)
#4B4B49
Tritanopia (blue-blind)
#861632
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7c204b;
/* rgb */ color: rgb(124, 32, 75);
/* oklch */ color: oklch(40.5% 0.132 356.2);
Tailwind
colors: {
  custom: {
    50: '#a6647d',
    500: '#7c204b',
    950: '#000000',
  },
}
SCSS
$custom: #7c204b;
$custom-light: #a6647d;
$custom-dark: #000000;
JSON
{
  "hex": "#7c204b",
  "rgb": {
    "r": 124,
    "g": 32,
    "b": 75
  },
  "hsl": {
    "h": 331.957,
    "s": 58.974,
    "l": 30.588
  },
  "oklch": {
    "l": 0.40506,
    "c": 0.13208,
    "h": 356.2
  },
  "luminance": 0.05826
}

Semantic roles & 50–950 ramp

primary
#7C204B
secondary
#49AF7F
accent
#E29946
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #7C204B

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

Preview Lab → · Contrast checker → · Palette generator →

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