#7C2240#7C2240

#7C2240 is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.3% C 0.126 H 4.5°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#7C2240
RGBrgb(124, 34, 64)
HSLhsl(340, 57%, 31%)
HSVhsv(340, 73%, 49%)
CMYKcmyk(0%, 72.6%, 48.4%, 51.4%)
CIE-LABlab(28.90, 40.99, 3.70)
CIE-LCHlch(28.90, 41.16, 5.16°)
OKLaboklab(40.34% 0.1253 0.0099)
OKLCHoklch(40.34% 0.126 4.5)
XYZxyz(9.8104, 5.8006, 5.4525)
Luminance0.0580 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C2240 #227C5E
analogous
#7C226D #7C2240 #7C3122
triadic
#7C2240 #407C22 #22407C
tetradic
#7C2240 #6D7C22 #227C5E #31227C
square
#7C2240 #6D7C22 #227C5E #31227C
split-complementary
#7C2240 #227C31 #226D7C
monochromatic
#1C080E #4C1527 #7C2240 #AC2F59 #CE4B76

Accessibility & contrast

On white

9.72
#7C2240 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#7C2240 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C2240
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C2240#FFFFFF#000000##FFFFFF
##7C22401.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363941
Deuteranopia (green-blind)
#4E4B3E
Tritanopia (blue-blind)
#87132E
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7c2240;
/* rgb */ color: rgb(124, 34, 64);
/* oklch */ color: oklch(40.3% 0.126 4.5);
Tailwind
colors: {
  custom: {
    50: '#a66474',
    500: '#7c2240',
    950: '#000000',
  },
}
SCSS
$custom: #7c2240;
$custom-light: #a66474;
$custom-dark: #000000;
JSON
{
  "hex": "#7c2240",
  "rgb": {
    "r": 124,
    "g": 34,
    "b": 64
  },
  "hsl": {
    "h": 340,
    "s": 56.962,
    "l": 30.98
  },
  "oklch": {
    "l": 0.40339,
    "c": 0.12565,
    "h": 4.5
  },
  "luminance": 0.05799
}

Semantic roles & 50–950 ramp

primary
#7C2240
secondary
#4BAF8D
accent
#E0AD48
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100608
muted
#7F7A7B

Preview Lab

Preview with #7C2240

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

Preview Lab → · Contrast checker → · Palette generator →

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