#CF38AA#CF38AA

#CF38AA is a mid, highly saturated pink. Relative luminance 0.190; OKLCH L 60.4% C 0.219 H 339.7°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#CF38AA
RGBrgb(207, 56, 170)
HSLhsl(315, 61%, 52%)
HSVhsv(315, 73%, 81%)
CMYKcmyk(0%, 72.9%, 17.9%, 18.8%)
CIE-LABlab(50.69, 68.89, -28.12)
CIE-LCHlch(50.69, 74.41, 337.80°)
OKLaboklab(60.39% 0.2052 -0.076)
OKLCHoklch(60.39% 0.219 339.7)
XYZxyz(34.4029, 18.9994, 39.8778)
Luminance0.1900 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF38AA #38CF5D
analogous
#A938CF #CF38AA #CF385F
triadic
#CF38AA #AACF38 #38AACF
tetradic
#CF38AA #CFA938 #38CF5D #385FCF
square
#CF38AA #CFA938 #38CF5D #385FCF
split-complementary
#CF38AA #5FCF38 #38CFA9
monochromatic
#711B5C #A32784 #CF38AA #DB69BF #E79BD4

Accessibility & contrast

On white

4.38
#CF38AA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#CF38AA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF38AA
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF38AA#FFFFFF#000000##000000
##CF38AA1.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4269AD
Deuteranopia (green-blind)
#7381A6
Tritanopia (blue-blind)
#DB3D6D
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cf38aa;
/* rgb */ color: rgb(207, 56, 170);
/* oklch */ color: oklch(60.4% 0.219 339.7);
Tailwind
colors: {
  custom: {
    50: '#e27dc3',
    500: '#cf38aa',
    950: '#000000',
  },
}
SCSS
$custom: #cf38aa;
$custom-light: #e27dc3;
$custom-dark: #000000;
JSON
{
  "hex": "#cf38aa",
  "rgb": {
    "r": 207,
    "g": 56,
    "b": 170
  },
  "hsl": {
    "h": 314.702,
    "s": 61.134,
    "l": 51.569
  },
  "oklch": {
    "l": 0.60385,
    "c": 0.21877,
    "h": 339.7
  },
  "luminance": 0.18996
}

Semantic roles & 50–950 ramp

primary
#CF38AA
secondary
#90D3A0
accent
#E46B44
background
#FEF8FC
surface
#FDEFF8
border
#D5CAD1
text
#160B12
muted
#847C81

Preview Lab

Preview with #CF38AA

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

Preview Lab → · Contrast checker → · Palette generator →

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