#7C2245#7C2245

#7C2245 is a dark, vivid pink. Relative luminance 0.059; OKLCH L 40.5% C 0.127 H 0.9°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#7C2245
RGBrgb(124, 34, 69)
HSLhsl(337, 57%, 31%)
HSVhsv(337, 73%, 49%)
CMYKcmyk(0%, 72.6%, 44.4%, 51.4%)
CIE-LABlab(29.06, 41.51, 0.59)
CIE-LCHlch(29.06, 41.51, 0.82°)
OKLaboklab(40.5% 0.1272 0.002)
OKLCHoklch(40.5% 0.127 0.9)
XYZxyz(9.9591, 5.8601, 6.2357)
Luminance0.0586 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C2245 #227C59
analogous
#7C2272 #7C2245 #7C2C22
triadic
#7C2245 #457C22 #22457C
tetradic
#7C2245 #727C22 #227C59 #2C227C
square
#7C2245 #727C22 #227C59 #2C227C
split-complementary
#7C2245 #227C2C #22727C
monochromatic
#1C0810 #4C152A #7C2245 #AC2F60 #CE4B7E

Accessibility & contrast

On white

9.67
#7C2245 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7C2245
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C2245#FFFFFF#000000##FFFFFF
##7C22451.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353946
Deuteranopia (green-blind)
#4D4B43
Tritanopia (blue-blind)
#871630
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7c2245;
/* rgb */ color: rgb(124, 34, 69);
/* oklch */ color: oklch(40.5% 0.127 0.9);
Tailwind
colors: {
  custom: {
    50: '#a66578',
    500: '#7c2245',
    950: '#000000',
  },
}
SCSS
$custom: #7c2245;
$custom-light: #a66578;
$custom-dark: #000000;
JSON
{
  "hex": "#7c2245",
  "rgb": {
    "r": 124,
    "g": 34,
    "b": 69
  },
  "hsl": {
    "h": 336.667,
    "s": 56.962,
    "l": 30.98
  },
  "oklch": {
    "l": 0.40502,
    "c": 0.12718,
    "h": 0.9
  },
  "luminance": 0.05859
}

Semantic roles & 50–950 ramp

primary
#7C2245
secondary
#4BAF88
accent
#E0A548
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #7C2245

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

Preview Lab → · Contrast checker → · Palette generator →

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