#CD2F5F#CD2F5F

#CD2F5F is a mid, vivid pink. Relative luminance 0.158; OKLCH L 56.6% C 0.194 H 8.5°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#CD2F5F
RGBrgb(205, 47, 95)
HSLhsl(342, 63%, 49%)
HSVhsv(342, 77%, 80%)
CMYKcmyk(0%, 77.1%, 53.7%, 19.6%)
CIE-LABlab(46.77, 63.18, 11.29)
CIE-LCHlch(46.77, 64.18, 10.13°)
OKLaboklab(56.62% 0.1922 0.0288)
OKLCHoklch(56.62% 0.194 8.5)
XYZxyz(28.2616, 15.8424, 12.3940)
Luminance0.1584 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD2F5F #2FCD9D
analogous
#CD2FAE #CD2F5F #CD4E2F
triadic
#CD2F5F #5FCD2F #2F5FCD
tetradic
#CD2F5F #AECD2F #2FCD9D #4E2FCD
square
#CD2F5F #AECD2F #2FCD9D #4E2FCD
split-complementary
#CD2F5F #2FCD4E #2FAECD
monochromatic
#691831 #9B2448 #CD2F5F #DA5F84 #E691AB

Accessibility & contrast

On white

5.04
#CD2F5F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#CD2F5F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CD2F5F
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD2F5F#FFFFFF#000000##FFFFFF
##CD2F5F1.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#595B60
Deuteranopia (green-blind)
#827A5B
Tritanopia (blue-blind)
#E00044
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #cd2f5f;
/* rgb */ color: rgb(205, 47, 95);
/* oklch */ color: oklch(56.6% 0.194 8.5);
Tailwind
colors: {
  custom: {
    50: '#e3768c',
    500: '#cd2f5f',
    950: '#000000',
  },
}
SCSS
$custom: #cd2f5f;
$custom-light: #e3768c;
$custom-dark: #000000;
JSON
{
  "hex": "#cd2f5f",
  "rgb": {
    "r": 205,
    "g": 47,
    "b": 95
  },
  "hsl": {
    "h": 341.772,
    "s": 62.698,
    "l": 49.412
  },
  "oklch": {
    "l": 0.56615,
    "c": 0.19437,
    "h": 8.5
  },
  "luminance": 0.15838
}

Semantic roles & 50–950 ramp

primary
#CD2F5F
secondary
#87D0BA
accent
#E6B442
background
#FEF7F8
surface
#FDEEF0
border
#D5C9CB
text
#170A0C
muted
#857C7D

Preview Lab

Preview with #CD2F5F

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

Preview Lab → · Contrast checker → · Palette generator →

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