#9C255F#9C255F

#9C255F is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.3% C 0.162 H 355.7°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#9C255F
RGBrgb(156, 37, 95)
HSLhsl(331, 62%, 38%)
HSVhsv(331, 76%, 61%)
CMYKcmyk(0%, 76.3%, 39.1%, 38.8%)
CIE-LABlab(36.40, 52.70, -4.84)
CIE-LCHlch(36.40, 52.92, 354.76°)
OKLaboklab(47.31% 0.1619 -0.0121)
OKLCHoklch(47.31% 0.162 355.7)
XYZxyz(16.4385, 9.2193, 11.7381)
Luminance0.0922 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C255F #259C62
analogous
#9C259B #9C255F #9C2625
triadic
#9C255F #5F9C25 #255F9C
tetradic
#9C255F #9B9C25 #259C62 #26259C
square
#9C255F #9B9C25 #259C62 #26259C
split-complementary
#9C255F #259C26 #259B9C
monochromatic
#390E23 #6B1941 #9C255F #CD317D #DA629C

Accessibility & contrast

On white

7.39
#9C255F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#9C255F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9C255F
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C255F#FFFFFF#000000##FFFFFF
##9C255F1.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D4860
Deuteranopia (green-blind)
#5E5E5C
Tritanopia (blue-blind)
#A9163F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9c255f;
/* rgb */ color: rgb(156, 37, 95);
/* oklch */ color: oklch(47.3% 0.162 355.7);
Tailwind
colors: {
  custom: {
    50: '#be6b8c',
    500: '#9c255f',
    950: '#000000',
  },
}
SCSS
$custom: #9c255f;
$custom-light: #be6b8c;
$custom-dark: #000000;
JSON
{
  "hex": "#9c255f",
  "rgb": {
    "r": 156,
    "g": 37,
    "b": 95
  },
  "hsl": {
    "h": 330.756,
    "s": 61.658,
    "l": 37.843
  },
  "oklch": {
    "l": 0.47313,
    "c": 0.1623,
    "h": 355.7
  },
  "luminance": 0.09217
}

Semantic roles & 50–950 ramp

primary
#9C255F
secondary
#5EBF90
accent
#E59643
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070C
muted
#827A7D

Preview Lab

Preview with #9C255F

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

Preview Lab → · Contrast checker → · Palette generator →

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