#7C245D#7C245D

#7C245D is a dark, vivid pink. Relative luminance 0.063; OKLCH L 41.7% C 0.137 H 344.9°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#7C245D
RGBrgb(124, 36, 93)
HSLhsl(321, 55%, 31%)
HSVhsv(321, 71%, 49%)
CMYKcmyk(0%, 71%, 25%, 51.4%)
CIE-LABlab(30.25, 43.71, -13.41)
CIE-LCHlch(30.25, 45.72, 342.94°)
OKLaboklab(41.67% 0.1319 -0.0357)
OKLCHoklch(41.67% 0.137 344.9)
XYZxyz(10.9193, 6.3383, 11.0022)
Luminance0.0634 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C245D #247C43
analogous
#6F247C #7C245D #7C2431
triadic
#7C245D #5D7C24 #245D7C
tetradic
#7C245D #7C6F24 #247C43 #24317C
square
#7C245D #7C6F24 #247C43 #24317C
split-complementary
#7C245D #317C24 #247C6F
monochromatic
#1D0816 #4D1639 #7C245D #AB3281 #CC4FA0

Accessibility & contrast

On white

9.26
#7C245D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#7C245D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C245D
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C245D#FFFFFF#000000##FFFFFF
##7C245D1.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E3E5F
Deuteranopia (green-blind)
#484D5B
Tritanopia (blue-blind)
#84233D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7c245d;
/* rgb */ color: rgb(124, 36, 93);
/* oklch */ color: oklch(41.7% 0.137 344.9);
Tailwind
colors: {
  custom: {
    50: '#a5668b',
    500: '#7c245d',
    950: '#000000',
  },
}
SCSS
$custom: #7c245d;
$custom-light: #a5668b;
$custom-dark: #000000;
JSON
{
  "hex": "#7c245d",
  "rgb": {
    "r": 124,
    "g": 36,
    "b": 93
  },
  "hsl": {
    "h": 321.136,
    "s": 55,
    "l": 31.373
  },
  "oklch": {
    "l": 0.41674,
    "c": 0.13665,
    "h": 344.9
  },
  "luminance": 0.06337
}

Semantic roles & 50–950 ramp

primary
#7C245D
secondary
#4DAE70
accent
#DE7E49
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7C245D

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

Preview Lab → · Contrast checker → · Palette generator →

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