#9D235F#9D235F

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

Color values

HEX#9D235F
RGBrgb(157, 35, 95)
HSLhsl(330, 64%, 38%)
HSVhsv(330, 78%, 62%)
CMYKcmyk(0%, 77.7%, 39.5%, 38.4%)
CIE-LABlab(36.36, 53.63, -4.87)
CIE-LCHlch(36.36, 53.85, 354.81°)
OKLaboklab(47.32% 0.1648 -0.0122)
OKLCHoklch(47.32% 0.165 355.8)
XYZxyz(16.5724, 9.1985, 11.7270)
Luminance0.0920 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D235F #239D61
analogous
#9D239C #9D235F #9D2423
triadic
#9D235F #5F9D23 #235F9D
tetradic
#9D235F #9C9D23 #239D61 #24239D
square
#9D235F #9C9D23 #239D61 #24239D
split-complementary
#9D235F #239D24 #239C9D
monochromatic
#390D22 #6B1841 #9D235F #CF2E7D #DB5F9C

Accessibility & contrast

On white

7.40
#9D235F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9D235F
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D235F#FFFFFF#000000##FFFFFF
##9D235F1.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9d235f;
/* rgb */ color: rgb(157, 35, 95);
/* oklch */ color: oklch(47.3% 0.165 355.8);
Tailwind
colors: {
  custom: {
    50: '#bf6b8c',
    500: '#9d235f',
    950: '#000000',
  },
}
SCSS
$custom: #9d235f;
$custom-light: #bf6b8c;
$custom-dark: #000000;
JSON
{
  "hex": "#9d235f",
  "rgb": {
    "r": 157,
    "g": 35,
    "b": 95
  },
  "hsl": {
    "h": 330.492,
    "s": 63.542,
    "l": 37.647
  },
  "oklch": {
    "l": 0.47319,
    "c": 0.16524,
    "h": 355.8
  },
  "luminance": 0.09196
}

Semantic roles & 50–950 ramp

primary
#9D235F
secondary
#5CC08F
accent
#E79541
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070C
muted
#827A7D

Preview Lab

Preview with #9D235F

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

Preview Lab → · Contrast checker → · Palette generator →

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