#9D245C#9D245C

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

Color values

HEX#9D245C
RGBrgb(157, 36, 92)
HSLhsl(332, 63%, 38%)
HSVhsv(332, 77%, 62%)
CMYKcmyk(0%, 77.1%, 41.4%, 38.4%)
CIE-LABlab(36.38, 52.99, -2.94)
CIE-LCHlch(36.38, 53.07, 356.83°)
OKLaboklab(47.3% 0.1628 -0.007)
OKLCHoklch(47.3% 0.163 357.5)
XYZxyz(16.4685, 9.2047, 11.0326)
Luminance0.0920 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D245C #249D65
analogous
#9D2498 #9D245C #9D2824
triadic
#9D245C #5C9D24 #245C9D
tetradic
#9D245C #989D24 #249D65 #28249D
square
#9D245C #989D24 #249D65 #28249D
split-complementary
#9D245C #249D28 #24989D
monochromatic
#390D22 #6B193F #9D245C #CF2F79 #DB6199

Accessibility & contrast

On white

7.39
#9D245C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#9D245C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D245C
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D245C#FFFFFF#000000##FFFFFF
##9D245C1.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E475D
Deuteranopia (green-blind)
#5F5E59
Tritanopia (blue-blind)
#AA113D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9d245c;
/* rgb */ color: rgb(157, 36, 92);
/* oklch */ color: oklch(47.3% 0.163 357.5);
Tailwind
colors: {
  custom: {
    50: '#bf6b8a',
    500: '#9d245c',
    950: '#000000',
  },
}
SCSS
$custom: #9d245c;
$custom-light: #bf6b8a;
$custom-dark: #000000;
JSON
{
  "hex": "#9d245c",
  "rgb": {
    "r": 157,
    "g": 36,
    "b": 92
  },
  "hsl": {
    "h": 332.231,
    "s": 62.694,
    "l": 37.843
  },
  "oklch": {
    "l": 0.47295,
    "c": 0.16297,
    "h": 357.5
  },
  "luminance": 0.09203
}

Semantic roles & 50–950 ramp

primary
#9D245C
secondary
#5DC092
accent
#E69A42
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070B
muted
#827A7C

Preview Lab

Preview with #9D245C

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

Preview Lab → · Contrast checker → · Palette generator →

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