#9F2253#9F2253

#9F2253 is a mid, vivid pink. Relative luminance 0.091; OKLCH L 47.2% C 0.164 H 2.6°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#9F2253
RGBrgb(159, 34, 83)
HSLhsl(336, 65%, 38%)
HSVhsv(336, 79%, 62%)
CMYKcmyk(0%, 78.6%, 47.8%, 37.6%)
CIE-LABlab(36.26, 53.30, 2.71)
CIE-LCHlch(36.26, 53.37, 2.91°)
OKLaboklab(47.19% 0.1635 0.0075)
OKLCHoklch(47.19% 0.164 2.6)
XYZxyz(16.4328, 9.1418, 9.0812)
Luminance0.0914 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2253 #229F6E
analogous
#9F2291 #9F2253 #9F2F22
triadic
#9F2253 #539F22 #22539F
tetradic
#9F2253 #919F22 #229F6E #2F229F
square
#9F2253 #919F22 #229F6E #2F229F
split-complementary
#9F2253 #229F2F #22919F
monochromatic
#3A0C1E #6D1739 #9F2253 #D12D6D #DD5F90

Accessibility & contrast

On white

7.43
#9F2253 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9F2253
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2253#FFFFFF#000000##FFFFFF
##9F22531.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#404654
Deuteranopia (green-blind)
#625E50
Tritanopia (blue-blind)
#AD0238
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9f2253;
/* rgb */ color: rgb(159, 34, 83);
/* oklch */ color: oklch(47.2% 0.164 2.6);
Tailwind
colors: {
  custom: {
    50: '#c16a83',
    500: '#9f2253',
    950: '#000000',
  },
}
SCSS
$custom: #9f2253;
$custom-light: #c16a83;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2253",
  "rgb": {
    "r": 159,
    "g": 34,
    "b": 83
  },
  "hsl": {
    "h": 336.48,
    "s": 64.767,
    "l": 37.843
  },
  "oklch": {
    "l": 0.47185,
    "c": 0.16364,
    "h": 2.6
  },
  "luminance": 0.0914
}

Semantic roles & 50–950 ramp

primary
#9F2253
secondary
#5BC199
accent
#E8A640
background
#FCF6F7
surface
#F8ECEE
border
#D1C7C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #9F2253

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

Preview Lab → · Contrast checker → · Palette generator →

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