#9C245F#9C245F

#9C245F is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.2% C 0.163 H 355.6°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#9C245F
RGBrgb(156, 36, 95)
HSLhsl(331, 63%, 38%)
HSVhsv(331, 77%, 61%)
CMYKcmyk(0%, 76.9%, 39.1%, 38.8%)
CIE-LABlab(36.29, 53.03, -5.01)
CIE-LCHlch(36.29, 53.27, 354.60°)
OKLaboklab(47.23% 0.1629 -0.0125)
OKLCHoklch(47.23% 0.163 355.6)
XYZxyz(16.4079, 9.1579, 11.7279)
Luminance0.0916 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C245F #249C61
analogous
#9C249B #9C245F #9C2524
triadic
#9C245F #5F9C24 #245F9C
tetradic
#9C245F #9B9C24 #249C61 #25249C
square
#9C245F #9B9C24 #249C61 #25249C
split-complementary
#9C245F #249C25 #249B9C
monochromatic
#390D22 #6A1941 #9C245F #CE2F7D #DA609C

Accessibility & contrast

On white

7.42
#9C245F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#9C245F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9C245F
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C245F#FFFFFF#000000##FFFFFF
##9C245F1.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C4760
Deuteranopia (green-blind)
#5E5D5C
Tritanopia (blue-blind)
#A9143E
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9c245f;
/* rgb */ color: rgb(156, 36, 95);
/* oklch */ color: oklch(47.2% 0.163 355.6);
Tailwind
colors: {
  custom: {
    50: '#be6b8c',
    500: '#9c245f',
    950: '#000000',
  },
}
SCSS
$custom: #9c245f;
$custom-light: #be6b8c;
$custom-dark: #000000;
JSON
{
  "hex": "#9c245f",
  "rgb": {
    "r": 156,
    "g": 36,
    "b": 95
  },
  "hsl": {
    "h": 330.5,
    "s": 62.5,
    "l": 37.647
  },
  "oklch": {
    "l": 0.47228,
    "c": 0.16338,
    "h": 355.6
  },
  "luminance": 0.09156
}

Semantic roles & 50–950 ramp

primary
#9C245F
secondary
#5CBF8F
accent
#E69542
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070C
muted
#827A7D

Preview Lab

Preview with #9C245F

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

Preview Lab → · Contrast checker → · Palette generator →

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