#7C245F#7C245F

#7C245F is a dark, vivid pink. Relative luminance 0.064; OKLCH L 41.8% C 0.138 H 343.6°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#7C245F
RGBrgb(124, 36, 95)
HSLhsl(320, 55%, 31%)
HSVhsv(320, 71%, 49%)
CMYKcmyk(0%, 71%, 23.4%, 51.4%)
CIE-LABlab(30.34, 44.00, -14.58)
CIE-LCHlch(30.34, 46.35, 341.67°)
OKLaboklab(41.77% 0.1324 -0.0389)
OKLCHoklch(41.77% 0.138 343.6)
XYZxyz(11.0090, 6.3742, 11.4748)
Luminance0.0637 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C245F #247C41
analogous
#6D247C #7C245F #7C2433
triadic
#7C245F #5F7C24 #245F7C
tetradic
#7C245F #7C6D24 #247C41 #24337C
square
#7C245F #7C6D24 #247C41 #24337C
split-complementary
#7C245F #337C24 #247C6D
monochromatic
#1D0816 #4D163B #7C245F #AB3283 #CC4FA3

Accessibility & contrast

On white

9.23
#7C245F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7C245F
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C245F#FFFFFF#000000##FFFFFF
##7C245F1.009.232.279.23
#FFFFFF9.231.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D3E61
Deuteranopia (green-blind)
#474D5D
Tritanopia (blue-blind)
#84243E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7c245f;
/* rgb */ color: rgb(124, 36, 95);
/* oklch */ color: oklch(41.8% 0.138 343.6);
Tailwind
colors: {
  custom: {
    50: '#a5668c',
    500: '#7c245f',
    950: '#000000',
  },
}
SCSS
$custom: #7c245f;
$custom-light: #a5668c;
$custom-dark: #000000;
JSON
{
  "hex": "#7c245f",
  "rgb": {
    "r": 124,
    "g": 36,
    "b": 95
  },
  "hsl": {
    "h": 319.773,
    "s": 55,
    "l": 31.373
  },
  "oklch": {
    "l": 0.41766,
    "c": 0.13796,
    "h": 343.6
  },
  "luminance": 0.06373
}

Semantic roles & 50–950 ramp

primary
#7C245F
secondary
#4DAE6D
accent
#DE7B49
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7C245F

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

Preview Lab → · Contrast checker → · Palette generator →

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