#9D245E#9D245E

#9D245E is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.4% C 0.164 H 356.4°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#9D245E
RGBrgb(157, 36, 94)
HSLhsl(331, 63%, 38%)
HSVhsv(331, 77%, 62%)
CMYKcmyk(0%, 77.1%, 40.1%, 38.4%)
CIE-LABlab(36.44, 53.20, -4.12)
CIE-LCHlch(36.44, 53.36, 355.57°)
OKLaboklab(47.37% 0.1635 -0.0102)
OKLCHoklch(47.37% 0.164 356.4)
XYZxyz(16.5570, 9.2401, 11.4991)
Luminance0.0924 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D245E #249D63
analogous
#9D249A #9D245E #9D2724
triadic
#9D245E #5E9D24 #245E9D
tetradic
#9D245E #9A9D24 #249D63 #27249D
square
#9D245E #9A9D24 #249D63 #27249D
split-complementary
#9D245E #249D27 #249A9D
monochromatic
#390D22 #6B1940 #9D245E #CF2F7C #DB619B

Accessibility & contrast

On white

7.37
#9D245E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#9D245E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D245E
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D245E#FFFFFF#000000##FFFFFF
##9D245E1.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D475F
Deuteranopia (green-blind)
#5F5E5B
Tritanopia (blue-blind)
#AA133E
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9d245e;
/* rgb */ color: rgb(157, 36, 94);
/* oklch */ color: oklch(47.4% 0.164 356.4);
Tailwind
colors: {
  custom: {
    50: '#bf6b8b',
    500: '#9d245e',
    950: '#000000',
  },
}
SCSS
$custom: #9d245e;
$custom-light: #bf6b8b;
$custom-dark: #000000;
JSON
{
  "hex": "#9d245e",
  "rgb": {
    "r": 157,
    "g": 36,
    "b": 94
  },
  "hsl": {
    "h": 331.24,
    "s": 62.694,
    "l": 37.843
  },
  "oklch": {
    "l": 0.47366,
    "c": 0.16378,
    "h": 356.4
  },
  "luminance": 0.09238
}

Semantic roles & 50–950 ramp

primary
#9D245E
secondary
#5DC090
accent
#E69742
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070C
muted
#827A7D

Preview Lab

Preview with #9D245E

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

Preview Lab → · Contrast checker → · Palette generator →

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