#9D245B#9D245B

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

Color values

HEX#9D245B
RGBrgb(157, 36, 91)
HSLhsl(333, 63%, 38%)
HSVhsv(333, 77%, 62%)
CMYKcmyk(0%, 77.1%, 42%, 38.4%)
CIE-LABlab(36.34, 52.89, -2.35)
CIE-LCHlch(36.34, 52.94, 357.46°)
OKLaboklab(47.26% 0.1625 -0.0055)
OKLCHoklch(47.26% 0.163 358.1)
XYZxyz(16.4250, 9.1873, 10.8039)
Luminance0.0919 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D245B #249D66
analogous
#9D2497 #9D245B #9D2924
triadic
#9D245B #5B9D24 #245B9D
tetradic
#9D245B #979D24 #249D66 #29249D
square
#9D245B #979D24 #249D66 #29249D
split-complementary
#9D245B #249D29 #24979D
monochromatic
#390D21 #6B193E #9D245B #CF2F78 #DB6198

Accessibility & contrast

On white

7.40
#9D245B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9D245B
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D245B#FFFFFF#000000##FFFFFF
##9D245B1.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E475C
Deuteranopia (green-blind)
#5F5E58
Tritanopia (blue-blind)
#AA113C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9d245b;
/* rgb */ color: rgb(157, 36, 91);
/* oklch */ color: oklch(47.3% 0.163 358.1);
Tailwind
colors: {
  custom: {
    50: '#bf6b89',
    500: '#9d245b',
    950: '#000000',
  },
}
SCSS
$custom: #9d245b;
$custom-light: #bf6b89;
$custom-dark: #000000;
JSON
{
  "hex": "#9d245b",
  "rgb": {
    "r": 157,
    "g": 36,
    "b": 91
  },
  "hsl": {
    "h": 332.727,
    "s": 62.694,
    "l": 37.843
  },
  "oklch": {
    "l": 0.4726,
    "c": 0.16259,
    "h": 358.1
  },
  "luminance": 0.09185
}

Semantic roles & 50–950 ramp

primary
#9D245B
secondary
#5DC093
accent
#E69B42
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070B
muted
#827A7C

Preview Lab

Preview with #9D245B

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

Preview Lab → · Contrast checker → · Palette generator →

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