#9F2275#9F2275

#9F2275 is a mid, vivid pink. Relative luminance 0.098; OKLCH L 48.5% C 0.179 H 345.3°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#9F2275
RGBrgb(159, 34, 117)
HSLhsl(320, 65%, 38%)
HSVhsv(320, 79%, 62%)
CMYKcmyk(0%, 78.6%, 26.4%, 37.6%)
CIE-LABlab(37.48, 57.03, -17.07)
CIE-LCHlch(37.48, 59.54, 343.33°)
OKLaboklab(48.48% 0.1731 -0.0454)
OKLCHoklch(48.48% 0.179 345.3)
XYZxyz(18.0818, 9.8013, 17.7658)
Luminance0.0980 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2275 #229F4C
analogous
#8A229F #9F2275 #9F2236
triadic
#9F2275 #759F22 #22759F
tetradic
#9F2275 #9F8A22 #229F4C #22369F
square
#9F2275 #9F8A22 #229F4C #22369F
split-complementary
#9F2275 #369F22 #229F8A
monochromatic
#3A0C2B #6D1750 #9F2275 #D12D9A #DD5FB2

Accessibility & contrast

On white

7.10
#9F2275 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#9F2275 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F2275
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2275#FFFFFF#000000##FFFFFF
##9F22751.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334B77
Deuteranopia (green-blind)
#596072
Tritanopia (blue-blind)
#AA1F49
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9f2275;
/* rgb */ color: rgb(159, 34, 117);
/* oklch */ color: oklch(48.5% 0.179 345.3);
Tailwind
colors: {
  custom: {
    50: '#c06b9d',
    500: '#9f2275',
    950: '#000000',
  },
}
SCSS
$custom: #9f2275;
$custom-light: #c06b9d;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2275",
  "rgb": {
    "r": 159,
    "g": 34,
    "b": 117
  },
  "hsl": {
    "h": 320.16,
    "s": 64.767,
    "l": 37.843
  },
  "oklch": {
    "l": 0.48482,
    "c": 0.17893,
    "h": 345.3
  },
  "luminance": 0.09799
}

Semantic roles & 50–950 ramp

primary
#9F2275
secondary
#5BC17E
accent
#E87840
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13080E
muted
#827A7E

Preview Lab

Preview with #9F2275

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

Preview Lab → · Contrast checker → · Palette generator →

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