#9F2270#9F2270

#9F2270 is a mid, vivid pink. Relative luminance 0.097; OKLCH L 48.3% C 0.176 H 347.7°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#9F2270
RGBrgb(159, 34, 112)
HSLhsl(323, 65%, 38%)
HSVhsv(323, 79%, 62%)
CMYKcmyk(0%, 78.6%, 29.6%, 37.6%)
CIE-LABlab(37.27, 56.41, -14.25)
CIE-LCHlch(37.27, 58.18, 345.82°)
OKLaboklab(48.26% 0.172 -0.0376)
OKLCHoklch(48.26% 0.176 347.7)
XYZxyz(17.7956, 9.6869, 16.2587)
Luminance0.0969 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2270 #229F51
analogous
#8F229F #9F2270 #9F2231
triadic
#9F2270 #709F22 #22709F
tetradic
#9F2270 #9F8F22 #229F51 #22319F
square
#9F2270 #9F8F22 #229F51 #22319F
split-complementary
#9F2270 #319F22 #229F8F
monochromatic
#3A0C29 #6D174C #9F2270 #D12D94 #DD5FAD

Accessibility & contrast

On white

7.15
#9F2270 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#9F2270 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F2270
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2270#FFFFFF#000000##FFFFFF
##9F22701.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364A72
Deuteranopia (green-blind)
#5B5F6D
Tritanopia (blue-blind)
#AB1C46
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9f2270;
/* rgb */ color: rgb(159, 34, 112);
/* oklch */ color: oklch(48.3% 0.176 347.7);
Tailwind
colors: {
  custom: {
    50: '#c06b99',
    500: '#9f2270',
    950: '#000000',
  },
}
SCSS
$custom: #9f2270;
$custom-light: #c06b99;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2270",
  "rgb": {
    "r": 159,
    "g": 34,
    "b": 112
  },
  "hsl": {
    "h": 322.56,
    "s": 64.767,
    "l": 37.843
  },
  "oklch": {
    "l": 0.48262,
    "c": 0.17609,
    "h": 347.7
  },
  "luminance": 0.09685
}

Semantic roles & 50–950 ramp

primary
#9F2270
secondary
#5BC182
accent
#E87F40
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070D
muted
#827A7E

Preview Lab

Preview with #9F2270

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

Preview Lab → · Contrast checker → · Palette generator →

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