#9D245F#9D245F

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

Color values

HEX#9D245F
RGBrgb(157, 36, 95)
HSLhsl(331, 63%, 38%)
HSVhsv(331, 77%, 62%)
CMYKcmyk(0%, 77.1%, 39.5%, 38.4%)
CIE-LABlab(36.48, 53.31, -4.71)
CIE-LCHlch(36.48, 53.51, 354.95°)
OKLaboklab(47.4% 0.1638 -0.0117)
OKLCHoklch(47.4% 0.164 355.9)
XYZxyz(16.6022, 9.2582, 11.7370)
Luminance0.0926 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D245F #249D62
analogous
#9D249B #9D245F #9D2624
triadic
#9D245F #5F9D24 #245F9D
tetradic
#9D245F #9B9D24 #249D62 #26249D
square
#9D245F #9B9D24 #249D62 #26249D
split-complementary
#9D245F #249D26 #249B9D
monochromatic
#390D23 #6B1941 #9D245F #CF2F7D #DB619C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D245F#FFFFFF#000000##FFFFFF
##9D245F1.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)
#3D4760
Deuteranopia (green-blind)
#5E5E5C
Tritanopia (blue-blind)
#AA143E
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9d245f;
/* rgb */ color: rgb(157, 36, 95);
/* oklch */ color: oklch(47.4% 0.164 355.9);
Tailwind
colors: {
  custom: {
    50: '#bf6b8c',
    500: '#9d245f',
    950: '#000000',
  },
}
SCSS
$custom: #9d245f;
$custom-light: #bf6b8c;
$custom-dark: #000000;
JSON
{
  "hex": "#9d245f",
  "rgb": {
    "r": 157,
    "g": 36,
    "b": 95
  },
  "hsl": {
    "h": 330.744,
    "s": 62.694,
    "l": 37.843
  },
  "oklch": {
    "l": 0.47402,
    "c": 0.16419,
    "h": 355.9
  },
  "luminance": 0.09256
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9D245F

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

Preview Lab → · Contrast checker → · Palette generator →

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