#CF38A5#CF38A5

#CF38A5 is a mid, highly saturated pink. Relative luminance 0.188; OKLCH L 60.2% C 0.216 H 341.4°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#CF38A5
RGBrgb(207, 56, 165)
HSLhsl(317, 61%, 52%)
HSVhsv(317, 73%, 81%)
CMYKcmyk(0%, 72.9%, 20.3%, 18.8%)
CIE-LABlab(50.47, 68.22, -25.51)
CIE-LCHlch(50.47, 72.83, 339.50°)
OKLaboklab(60.16% 0.2044 -0.0686)
OKLCHoklch(60.16% 0.216 341.4)
XYZxyz(33.9389, 18.8138, 37.4341)
Luminance0.1881 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF38A5 #38CF62
analogous
#AE38CF #CF38A5 #CF385A
triadic
#CF38A5 #A5CF38 #38A5CF
tetradic
#CF38A5 #CFAE38 #38CF62 #385ACF
square
#CF38A5 #CFAE38 #38CF62 #385ACF
split-complementary
#CF38A5 #5ACF38 #38CFAE
monochromatic
#711B59 #A32780 #CF38A5 #DB69BB #E79BD2

Accessibility & contrast

On white

4.41
#CF38A5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#CF38A5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF38A5
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF38A5#FFFFFF#000000##000000
##CF38A51.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4569A8
Deuteranopia (green-blind)
#7581A2
Tritanopia (blue-blind)
#DC3B6A
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #cf38a5;
/* rgb */ color: rgb(207, 56, 165);
/* oklch */ color: oklch(60.2% 0.216 341.4);
Tailwind
colors: {
  custom: {
    50: '#e27cc0',
    500: '#cf38a5',
    950: '#000000',
  },
}
SCSS
$custom: #cf38a5;
$custom-light: #e27cc0;
$custom-dark: #000000;
JSON
{
  "hex": "#cf38a5",
  "rgb": {
    "r": 207,
    "g": 56,
    "b": 165
  },
  "hsl": {
    "h": 316.689,
    "s": 61.134,
    "l": 51.569
  },
  "oklch": {
    "l": 0.60156,
    "c": 0.21562,
    "h": 341.4
  },
  "luminance": 0.1881
}

Semantic roles & 50–950 ramp

primary
#CF38A5
secondary
#90D3A3
accent
#E47044
background
#FEF8FB
surface
#FDEFF7
border
#D5CAD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #CF38A5

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

Preview Lab → · Contrast checker → · Palette generator →

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