#7C2452#7C2452

#7C2452 is a dark, vivid pink. Relative luminance 0.062; OKLCH L 41.2% C 0.130 H 352.1°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#7C2452
RGBrgb(124, 36, 82)
HSLhsl(329, 55%, 31%)
HSVhsv(329, 71%, 49%)
CMYKcmyk(0%, 71%, 33.9%, 51.4%)
CIE-LABlab(29.81, 42.22, -6.90)
CIE-LCHlch(29.81, 42.78, 350.72°)
OKLaboklab(41.2% 0.129 -0.0178)
OKLCHoklch(41.2% 0.13 352.1)
XYZxyz(10.4666, 6.1572, 8.6183)
Luminance0.0616 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C2452 #247C4E
analogous
#7A247C #7C2452 #7C2426
triadic
#7C2452 #527C24 #24527C
tetradic
#7C2452 #7C7A24 #247C4E #24267C
square
#7C2452 #7C7A24 #247C4E #24267C
split-complementary
#7C2452 #267C24 #247C7A
monochromatic
#1D0813 #4D1633 #7C2452 #AB3271 #CC4F90

Accessibility & contrast

On white

9.41
#7C2452 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#7C2452 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C2452
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C2452#FFFFFF#000000##FFFFFF
##7C24521.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323C53
Deuteranopia (green-blind)
#4B4C50
Tritanopia (blue-blind)
#861E37
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7c2452;
/* rgb */ color: rgb(124, 36, 82);
/* oklch */ color: oklch(41.2% 0.130 352.1);
Tailwind
colors: {
  custom: {
    50: '#a56682',
    500: '#7c2452',
    950: '#000000',
  },
}
SCSS
$custom: #7c2452;
$custom-light: #a56682;
$custom-dark: #000000;
JSON
{
  "hex": "#7c2452",
  "rgb": {
    "r": 124,
    "g": 36,
    "b": 82
  },
  "hsl": {
    "h": 328.636,
    "s": 55,
    "l": 31.373
  },
  "oklch": {
    "l": 0.41202,
    "c": 0.13017,
    "h": 352.1
  },
  "luminance": 0.06156
}

Semantic roles & 50–950 ramp

primary
#7C2452
secondary
#4DAE7C
accent
#DE9149
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7C2452

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

Preview Lab → · Contrast checker → · Palette generator →

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