#7C213C#7C213C

#7C213C is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.1% C 0.126 H 7.1°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#7C213C
RGBrgb(124, 33, 60)
HSLhsl(342, 58%, 31%)
HSVhsv(342, 73%, 49%)
CMYKcmyk(0%, 73.4%, 51.6%, 51.4%)
CIE-LABlab(28.64, 41.01, 6.00)
CIE-LCHlch(28.64, 41.45, 8.33°)
OKLaboklab(40.11% 0.125 0.0156)
OKLCHoklch(40.11% 0.126 7.1)
XYZxyz(9.6725, 5.7003, 4.8650)
Luminance0.0570 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C213C #217C61
analogous
#7C2169 #7C213C #7C3321
triadic
#7C213C #3C7C21 #213C7C
tetradic
#7C213C #697C21 #217C61 #33217C
square
#7C213C #697C21 #217C61 #33217C
split-complementary
#7C213C #217C33 #21697C
monochromatic
#1B070D #4C1425 #7C213C #AC2E53 #CF4971

Accessibility & contrast

On white

9.81
#7C213C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#7C213C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C213C
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C213C#FFFFFF#000000##FFFFFF
##7C213C1.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36383D
Deuteranopia (green-blind)
#4E4A3A
Tritanopia (blue-blind)
#87102C
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7c213c;
/* rgb */ color: rgb(124, 33, 60);
/* oklch */ color: oklch(40.1% 0.126 7.1);
Tailwind
colors: {
  custom: {
    50: '#a76471',
    500: '#7c213c',
    950: '#000000',
  },
}
SCSS
$custom: #7c213c;
$custom-light: #a76471;
$custom-dark: #000000;
JSON
{
  "hex": "#7c213c",
  "rgb": {
    "r": 124,
    "g": 33,
    "b": 60
  },
  "hsl": {
    "h": 342.198,
    "s": 57.962,
    "l": 30.784
  },
  "oklch": {
    "l": 0.40109,
    "c": 0.12593,
    "h": 7.1
  },
  "luminance": 0.05699
}

Semantic roles & 50–950 ramp

primary
#7C213C
secondary
#4AAF91
accent
#E1B347
background
#FAF6F6
surface
#F4EBEC
border
#CEC6C7
text
#100607
muted
#7F7A7A

Preview Lab

Preview with #7C213C

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

Preview Lab → · Contrast checker → · Palette generator →

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