#9F2874#9F2874

#9F2874 is a mid, vivid pink. Relative luminance 0.101; OKLCH L 48.9% C 0.172 H 346.2°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#9F2874
RGBrgb(159, 40, 116)
HSLhsl(322, 60%, 39%)
HSVhsv(322, 75%, 62%)
CMYKcmyk(0%, 74.8%, 27%, 37.6%)
CIE-LABlab(38.11, 55.00, -15.48)
CIE-LCHlch(38.11, 57.14, 344.28°)
OKLaboklab(48.93% 0.1669 -0.041)
OKLCHoklch(48.93% 0.172 346.2)
XYZxyz(18.2101, 10.1515, 17.5200)
Luminance0.1015 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2874 #289F53
analogous
#8F289F #9F2874 #9F2838
triadic
#9F2874 #749F28 #28749F
tetradic
#9F2874 #9F8F28 #289F53 #28389F
square
#9F2874 #9F8F28 #289F53 #28389F
split-complementary
#9F2874 #389F28 #289F8F
monochromatic
#3D0F2D #6E1C50 #9F2874 #CD3797 #D968B0

Accessibility & contrast

On white

6.93
#9F2874 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#9F2874 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2874
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2874#FFFFFF#000000##FFFFFF
##9F28741.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384D76
Deuteranopia (green-blind)
#5B6171
Tritanopia (blue-blind)
#AA254A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9f2874;
/* rgb */ color: rgb(159, 40, 116);
/* oklch */ color: oklch(48.9% 0.172 346.2);
Tailwind
colors: {
  custom: {
    50: '#bf6e9c',
    500: '#9f2874',
    950: '#000000',
  },
}
SCSS
$custom: #9f2874;
$custom-light: #bf6e9c;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2874",
  "rgb": {
    "r": 159,
    "g": 40,
    "b": 116
  },
  "hsl": {
    "h": 321.681,
    "s": 59.799,
    "l": 39.02
  },
  "oklch": {
    "l": 0.48926,
    "c": 0.17192,
    "h": 346.2
  },
  "luminance": 0.10149
}

Semantic roles & 50–950 ramp

primary
#9F2874
secondary
#64BF85
accent
#E37E45
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #9F2874

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

Preview Lab → · Contrast checker → · Palette generator →

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