#9D255F#9D255F

#9D255F is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.5% C 0.163 H 356.0°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#9D255F
RGBrgb(157, 37, 95)
HSLhsl(331, 62%, 38%)
HSVhsv(331, 76%, 62%)
CMYKcmyk(0%, 76.4%, 39.5%, 38.4%)
CIE-LABlab(36.59, 52.98, -4.53)
CIE-LCHlch(36.59, 53.17, 355.11°)
OKLaboklab(47.49% 0.1627 -0.0113)
OKLCHoklch(47.49% 0.163 356)
XYZxyz(16.6329, 9.3195, 11.7472)
Luminance0.0932 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D255F #259D63
analogous
#9D259B #9D255F #9D2725
triadic
#9D255F #5F9D25 #255F9D
tetradic
#9D255F #9B9D25 #259D63 #27259D
square
#9D255F #9B9D25 #259D63 #27259D
split-complementary
#9D255F #259D27 #259B9D
monochromatic
#3A0E23 #6B1941 #9D255F #CE317D #DA629C

Accessibility & contrast

On white

7.33
#9D255F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#9D255F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D255F
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D255F#FFFFFF#000000##FFFFFF
##9D255F1.007.332.867.33
#FFFFFF7.331.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9d255f;
/* rgb */ color: rgb(157, 37, 95);
/* oklch */ color: oklch(47.5% 0.163 356.0);
Tailwind
colors: {
  custom: {
    50: '#bf6b8c',
    500: '#9d255f',
    950: '#000000',
  },
}
SCSS
$custom: #9d255f;
$custom-light: #bf6b8c;
$custom-dark: #000000;
JSON
{
  "hex": "#9d255f",
  "rgb": {
    "r": 157,
    "g": 37,
    "b": 95
  },
  "hsl": {
    "h": 331,
    "s": 61.856,
    "l": 38.039
  },
  "oklch": {
    "l": 0.47487,
    "c": 0.16312,
    "h": 356
  },
  "luminance": 0.09317
}

Semantic roles & 50–950 ramp

primary
#9D255F
secondary
#5EBF91
accent
#E59743
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070C
muted
#827A7D

Preview Lab

Preview with #9D255F

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

Preview Lab → · Contrast checker → · Palette generator →

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