#9F2285#9F2285

#9F2285 is a mid, vivid pink. Relative luminance 0.102; OKLCH L 49.3% C 0.189 H 338.2°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#9F2285
RGBrgb(159, 34, 133)
HSLhsl(312, 65%, 38%)
HSVhsv(312, 79%, 62%)
CMYKcmyk(0%, 78.6%, 16.4%, 37.6%)
CIE-LABlab(38.22, 59.19, -25.89)
CIE-LCHlch(38.22, 64.61, 336.37°)
OKLaboklab(49.25% 0.1755 -0.0703)
OKLCHoklch(49.25% 0.189 338.2)
XYZxyz(19.1042, 10.2103, 23.1504)
Luminance0.1021 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2285 #229F3C
analogous
#7A229F #9F2285 #9F2246
triadic
#9F2285 #859F22 #22859F
tetradic
#9F2285 #9F7A22 #229F3C #22469F
square
#9F2285 #9F7A22 #229F3C #22469F
split-complementary
#9F2285 #469F22 #229F7A
monochromatic
#3A0C31 #6D175B #9F2285 #D12DAF #DD5FC3

Accessibility & contrast

On white

6.90
#9F2285 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#9F2285 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2285
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2285#FFFFFF#000000##FFFFFF
##9F22851.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284E88
Deuteranopia (green-blind)
#546182
Tritanopia (blue-blind)
#A82952
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9f2285;
/* rgb */ color: rgb(159, 34, 133);
/* oklch */ color: oklch(49.3% 0.189 338.2);
Tailwind
colors: {
  custom: {
    50: '#bf6ca9',
    500: '#9f2285',
    950: '#000000',
  },
}
SCSS
$custom: #9f2285;
$custom-light: #bf6ca9;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2285",
  "rgb": {
    "r": 159,
    "g": 34,
    "b": 133
  },
  "hsl": {
    "h": 312.48,
    "s": 64.767,
    "l": 37.843
  },
  "oklch": {
    "l": 0.49252,
    "c": 0.18903,
    "h": 338.2
  },
  "luminance": 0.10208
}

Semantic roles & 50–950 ramp

primary
#9F2285
secondary
#5BC171
accent
#E86340
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130810
muted
#827A7F

Preview Lab

Preview with #9F2285

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

Preview Lab → · Contrast checker → · Palette generator →

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