#9D245A#9D245A

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

Color values

HEX#9D245A
RGBrgb(157, 36, 90)
HSLhsl(333, 63%, 38%)
HSVhsv(333, 77%, 62%)
CMYKcmyk(0%, 77.1%, 42.7%, 38.4%)
CIE-LABlab(36.31, 52.78, -1.75)
CIE-LCHlch(36.31, 52.81, 358.10°)
OKLaboklab(47.23% 0.1622 -0.004)
OKLCHoklch(47.23% 0.162 358.6)
XYZxyz(16.3822, 9.1702, 10.5782)
Luminance0.0917 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D245A #249D67
analogous
#9D2496 #9D245A #9D2A24
triadic
#9D245A #5A9D24 #245A9D
tetradic
#9D245A #969D24 #249D67 #2A249D
square
#9D245A #969D24 #249D67 #2A249D
split-complementary
#9D245A #249D2A #24969D
monochromatic
#390D21 #6B193D #9D245A #CF2F77 #DB6197

Accessibility & contrast

On white

7.41
#9D245A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9D245A
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D245A#FFFFFF#000000##FFFFFF
##9D245A1.007.412.837.41
#FFFFFF7.411.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F475B
Deuteranopia (green-blind)
#605E57
Tritanopia (blue-blind)
#AA103C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9d245a;
/* rgb */ color: rgb(157, 36, 90);
/* oklch */ color: oklch(47.2% 0.162 358.6);
Tailwind
colors: {
  custom: {
    50: '#bf6b88',
    500: '#9d245a',
    950: '#000000',
  },
}
SCSS
$custom: #9d245a;
$custom-light: #bf6b88;
$custom-dark: #000000;
JSON
{
  "hex": "#9d245a",
  "rgb": {
    "r": 157,
    "g": 36,
    "b": 90
  },
  "hsl": {
    "h": 333.223,
    "s": 62.694,
    "l": 37.843
  },
  "oklch": {
    "l": 0.47225,
    "c": 0.16222,
    "h": 358.6
  },
  "luminance": 0.09168
}

Semantic roles & 50–950 ramp

primary
#9D245A
secondary
#5DC094
accent
#E69D42
background
#FCF6F8
surface
#F8ECEF
border
#D1C7CA
text
#13070B
muted
#827A7C

Preview Lab

Preview with #9D245A

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

Preview Lab → · Contrast checker → · Palette generator →

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