#9B245E#9B245E

#9B245E is a mid, vivid pink. Relative luminance 0.090; OKLCH L 47.0% C 0.162 H 355.8°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#9B245E
RGBrgb(155, 36, 94)
HSLhsl(331, 62%, 37%)
HSVhsv(331, 77%, 61%)
CMYKcmyk(0%, 76.8%, 39.4%, 39.2%)
CIE-LABlab(36.06, 52.65, -4.72)
CIE-LCHlch(36.06, 52.86, 354.87°)
OKLaboklab(47.02% 0.1617 -0.0118)
OKLCHoklch(47.02% 0.162 355.8)
XYZxyz(16.1699, 9.0405, 11.4810)
Luminance0.0904 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B245E #249B61
analogous
#9B249A #9B245E #9B2524
triadic
#9B245E #5E9B24 #245E9B
tetradic
#9B245E #9A9B24 #249B61 #25249B
square
#9B245E #9A9B24 #249B61 #25249B
split-complementary
#9B245E #249B25 #249A9B
monochromatic
#380D22 #691840 #9B245E #CD307C #DA5F9B

Accessibility & contrast

On white

7.48
#9B245E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#9B245E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B245E
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B245E#FFFFFF#000000##FFFFFF
##9B245E1.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C475F
Deuteranopia (green-blind)
#5D5D5B
Tritanopia (blue-blind)
#A8143E
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9b245e;
/* rgb */ color: rgb(155, 36, 94);
/* oklch */ color: oklch(47.0% 0.162 355.8);
Tailwind
colors: {
  custom: {
    50: '#bd6b8b',
    500: '#9b245e',
    950: '#000000',
  },
}
SCSS
$custom: #9b245e;
$custom-light: #bd6b8b;
$custom-dark: #000000;
JSON
{
  "hex": "#9b245e",
  "rgb": {
    "r": 155,
    "g": 36,
    "b": 94
  },
  "hsl": {
    "h": 330.756,
    "s": 62.304,
    "l": 37.451
  },
  "oklch": {
    "l": 0.47017,
    "c": 0.16215,
    "h": 355.8
  },
  "luminance": 0.09038
}

Semantic roles & 50–950 ramp

primary
#9B245E
secondary
#5CBF8F
accent
#E59642
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070C
muted
#827A7D

Preview Lab

Preview with #9B245E

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

Preview Lab → · Contrast checker → · Palette generator →

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