#7C2247#7C2247

#7C2247 is a dark, vivid pink. Relative luminance 0.059; OKLCH L 40.6% C 0.128 H 359.5°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#7C2247
RGBrgb(124, 34, 71)
HSLhsl(335, 57%, 31%)
HSVhsv(335, 73%, 49%)
CMYKcmyk(0%, 72.6%, 42.7%, 51.4%)
CIE-LABlab(29.12, 41.73, -0.64)
CIE-LCHlch(29.12, 41.73, 359.12°)
OKLaboklab(40.57% 0.1279 -0.0012)
OKLCHoklch(40.57% 0.128 359.5)
XYZxyz(10.0222, 5.8853, 6.5682)
Luminance0.0588 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C2247 #227C57
analogous
#7C2274 #7C2247 #7C2A22
triadic
#7C2247 #477C22 #22477C
tetradic
#7C2247 #747C22 #227C57 #2A227C
square
#7C2247 #747C22 #227C57 #2A227C
split-complementary
#7C2247 #227C2A #22747C
monochromatic
#1C0810 #4C152B #7C2247 #AC2F63 #CE4B81

Accessibility & contrast

On white

9.65
#7C2247 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#7C2247 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C2247
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C2247#FFFFFF#000000##FFFFFF
##7C22471.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343A48
Deuteranopia (green-blind)
#4D4B45
Tritanopia (blue-blind)
#871731
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7c2247;
/* rgb */ color: rgb(124, 34, 71);
/* oklch */ color: oklch(40.6% 0.128 359.5);
Tailwind
colors: {
  custom: {
    50: '#a6657a',
    500: '#7c2247',
    950: '#000000',
  },
}
SCSS
$custom: #7c2247;
$custom-light: #a6657a;
$custom-dark: #000000;
JSON
{
  "hex": "#7c2247",
  "rgb": {
    "r": 124,
    "g": 34,
    "b": 71
  },
  "hsl": {
    "h": 335.333,
    "s": 56.962,
    "l": 30.98
  },
  "oklch": {
    "l": 0.40571,
    "c": 0.1279,
    "h": 359.5
  },
  "luminance": 0.05884
}

Semantic roles & 50–950 ramp

primary
#7C2247
secondary
#4BAF86
accent
#E0A148
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #7C2247

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

Preview Lab → · Contrast checker → · Palette generator →

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