#7C213B#7C213B

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

Color values

HEX#7C213B
RGBrgb(124, 33, 59)
HSLhsl(343, 58%, 31%)
HSVhsv(343, 73%, 49%)
CMYKcmyk(0%, 73.4%, 52.4%, 51.4%)
CIE-LABlab(28.62, 40.91, 6.63)
CIE-LCHlch(28.62, 41.45, 9.21°)
OKLaboklab(40.08% 0.1246 0.0172)
OKLCHoklch(40.08% 0.126 7.8)
XYZxyz(9.6463, 5.6899, 4.7271)
Luminance0.0569 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C213B #217C62
analogous
#7C2168 #7C213B #7C3421
triadic
#7C213B #3B7C21 #213B7C
tetradic
#7C213B #687C21 #217C62 #34217C
square
#7C213B #687C21 #217C62 #34217C
split-complementary
#7C213B #217C34 #21687C
monochromatic
#1B070D #4C1424 #7C213B #AC2E52 #CF496F

Accessibility & contrast

On white

9.82
#7C213B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7C213B
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C213B#FFFFFF#000000##FFFFFF
##7C213B1.009.822.149.82
#FFFFFF9.821.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37383C
Deuteranopia (green-blind)
#4E4A39
Tritanopia (blue-blind)
#870F2C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7c213b;
/* rgb */ color: rgb(124, 33, 59);
/* oklch */ color: oklch(40.1% 0.126 7.8);
Tailwind
colors: {
  custom: {
    50: '#a76470',
    500: '#7c213b',
    950: '#000000',
  },
}
SCSS
$custom: #7c213b;
$custom-light: #a76470;
$custom-dark: #000000;
JSON
{
  "hex": "#7c213b",
  "rgb": {
    "r": 124,
    "g": 33,
    "b": 59
  },
  "hsl": {
    "h": 342.857,
    "s": 57.962,
    "l": 30.784
  },
  "oklch": {
    "l": 0.4008,
    "c": 0.12574,
    "h": 7.8
  },
  "luminance": 0.05689
}

Semantic roles & 50–950 ramp

primary
#7C213B
secondary
#4AAF92
accent
#E1B547
background
#FAF6F6
surface
#F4EBEC
border
#CEC6C7
text
#100607
muted
#7F7A7A

Preview Lab

Preview with #7C213B

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

Preview Lab → · Contrast checker → · Palette generator →

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