#CD5F7B#CD5F7B

#CD5F7B is a light, vivid pink. Relative luminance 0.226; OKLCH L 62.7% C 0.142 H 6.1°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#CD5F7B
RGBrgb(205, 95, 123)
HSLhsl(345, 52%, 59%)
HSVhsv(345, 54%, 80%)
CMYKcmyk(0%, 53.7%, 40%, 19.6%)
CIE-LABlab(54.65, 46.33, 5.60)
CIE-LCHlch(54.65, 46.66, 6.89°)
OKLaboklab(62.72% 0.1409 0.015)
OKLCHoklch(62.72% 0.142 6.1)
XYZxyz(32.8461, 22.5970, 21.3669)
Luminance0.2259 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5F7B #5FCDB1
analogous
#CD5FB2 #CD5F7B #CD7A5F
triadic
#CD5F7B #7BCD5F #5F7BCD
tetradic
#CD5F7B #B2CD5F #5FCDB1 #7A5FCD
square
#CD5F7B #B2CD5F #5FCDB1 #7A5FCD
split-complementary
#CD5F7B #5FCD7A #5FB2CD
monochromatic
#872A42 #B63959 #CD5F7B #DC8EA1 #EABCC8

Accessibility & contrast

On white

3.81
#CD5F7B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#CD5F7B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5F7B
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5F7B#FFFFFF#000000##000000
##CD5F7B1.003.815.525.52
#FFFFFF3.811.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#73767C
Deuteranopia (green-blind)
#908B79
Tritanopia (blue-blind)
#DD5469
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #cd5f7b;
/* rgb */ color: rgb(205, 95, 123);
/* oklch */ color: oklch(62.7% 0.142 6.1);
Tailwind
colors: {
  custom: {
    50: '#e090a1',
    500: '#cd5f7b',
    950: '#000000',
  },
}
SCSS
$custom: #cd5f7b;
$custom-light: #e090a1;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5f7b",
  "rgb": {
    "r": 205,
    "g": 95,
    "b": 123
  },
  "hsl": {
    "h": 344.727,
    "s": 52.381,
    "l": 58.824
  },
  "oklch": {
    "l": 0.62722,
    "c": 0.14166,
    "h": 6.1
  },
  "luminance": 0.22594
}

Semantic roles & 50–950 ramp

primary
#CD5F7B
secondary
#AEDACF
accent
#DCB74C
background
#FEF9F9
surface
#FCF1F2
border
#D5CBCC
text
#160D0E
muted
#847E7E

Preview Lab

Preview with #CD5F7B

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

Preview Lab → · Contrast checker → · Palette generator →

#CD5F7B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva